Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.TestVector2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.472/1.472, allocations: 230.6 MB / 252.7 MB, free: 8.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 209.5 kB / 309.2 MB, free: 3.125 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04406/0.04406, allocations: 8.913 MB / 374.6 MB, free: 1.883 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.Classes.TestVector2D,fileNamePrefix="HanserModelica_HanserModelica_Classes_TestVector2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Classes.TestVector2D,fileNamePrefix="HanserModelica_HanserModelica_Classes_TestVector2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002691/0.002691, allocations: 87.88 kB / 0.4892 GB, free: 7.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3093, allocations: 55.6 MB / 0.5435 GB, free: 26.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002176/0.3114, allocations: 1.217 MB / 0.5447 GB, free: 25.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002125/0.3117, allocations: 58.56 kB / 0.5447 GB, free: 25.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.117e-05/0.3117, allocations: 3.219 kB / 0.5447 GB, free: 25.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.137e-05/0.3118, allocations: 7.188 kB / 0.5447 GB, free: 25.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.3119, allocations: 3.938 kB / 0.5448 GB, free: 25.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.138e-05/0.312, allocations: 10.62 kB / 0.5448 GB, free: 25.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.745e-05/0.312, allocations: 18.27 kB / 0.5448 GB, free: 25.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.7e-05/0.3121, allocations: 7.375 kB / 0.5448 GB, free: 25.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.786e-05/0.3121, allocations: 7.094 kB / 0.5448 GB, free: 25.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.482e-05/0.3122, allocations: 7.156 kB / 0.5448 GB, free: 25.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.3122, allocations: 0 / 0.5448 GB, free: 25.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-06/0.3122, allocations: 0 / 0.5448 GB, free: 25.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.3122, allocations: 3.125 kB / 0.5448 GB, free: 25.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.3122, allocations: 11.41 kB / 0.5448 GB, free: 25.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.829e-05/0.3123, allocations: 12.25 kB / 0.5448 GB, free: 25.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3123, allocations: 0 / 0.5448 GB, free: 25.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3123, allocations: 0 / 0.5448 GB, free: 25.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.3123, allocations: 0 / 0.5448 GB, free: 25.86 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003404/0.3127, allocations: 255.5 kB / 0.5451 GB, free: 25.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3127, allocations: 9.625 kB / 0.5451 GB, free: 25.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.48e-05/0.3127, allocations: 30.75 kB / 0.5451 GB, free: 25.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.425e-05/0.3127, allocations: 4.156 kB / 0.5451 GB, free: 25.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.459e-05/0.3128, allocations: 105.6 kB / 0.5452 GB, free: 25.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.3129, allocations: 384 / 0.5452 GB, free: 25.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.3129, allocations: 4.375 kB / 0.5452 GB, free: 25.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.471e-05/0.313, allocations: 61.69 kB / 0.5453 GB, free: 25.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.313, allocations: 3.938 kB / 0.5453 GB, free: 25.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.313, allocations: 0 / 0.5453 GB, free: 25.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.313, allocations: 3.984 kB / 0.5453 GB, free: 25.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.651e-05/0.313, allocations: 3.438 kB / 0.5453 GB, free: 25.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/0.3133, allocations: 138.7 kB / 0.5454 GB, free: 25.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.964e-05/0.3133, allocations: 44.34 kB / 0.5455 GB, free: 25.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.663e-05/0.3133, allocations: 12.34 kB / 0.5455 GB, free: 25.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.081e-06/0.3133, allocations: 0 / 0.5455 GB, free: 25.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.3134, allocations: 38.5 kB / 0.5455 GB, free: 25.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3134, allocations: 0 / 0.5455 GB, free: 25.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001354/0.3135, allocations: 49.8 kB / 0.5456 GB, free: 25.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.3135, allocations: 85.3 kB / 0.5456 GB, free: 24.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.357e-05/0.3136, allocations: 103.5 kB / 0.5457 GB, free: 24.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.204e-06/0.3136, allocations: 25.7 kB / 0.5458 GB, free: 24.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.81e-05/0.3136, allocations: 84.14 kB / 0.5458 GB, free: 24.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.3136, allocations: 11.11 kB / 0.5459 GB, free: 24.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.3137, allocations: 16.25 kB / 0.5459 GB, free: 24.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.265e-05/0.3137, allocations: 314.8 kB / 0.5462 GB, free: 24.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.463e-05/0.3137, allocations: 3.188 kB / 0.5462 GB, free: 24.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.929e-05/0.3137, allocations: 33.98 kB / 0.5462 GB, free: 24.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.913e-05/0.3138, allocations: 37 kB / 0.5462 GB, free: 24.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3138, allocations: 0 / 0.5462 GB, free: 24.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.31e-05/0.3139, allocations: 64.17 kB / 0.5463 GB, free: 24.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3139, allocations: 10.41 kB / 0.5463 GB, free: 24.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3139, allocations: 0 / 0.5463 GB, free: 24.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3139, allocations: 0 / 0.5463 GB, free: 24.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.583e-05/0.3139, allocations: 10.44 kB / 0.5463 GB, free: 24.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3139, allocations: 10.5 kB / 0.5463 GB, free: 24.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.978e-05/0.314, allocations: 0 / 0.5463 GB, free: 24.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.314, allocations: 3.125 kB / 0.5463 GB, free: 24.22 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/0.314, allocations: 114 kB / 0.5464 GB, free: 24.1 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.314, allocations: 10.98 kB / 0.5465 GB, free: 24.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.795e-05/0.314, allocations: 3.156 kB / 0.5465 GB, free: 24.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.314, allocations: 3.375 kB / 0.5465 GB, free: 24.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.314, allocations: 0 / 0.5465 GB, free: 24.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.314, allocations: 0 / 0.5465 GB, free: 24.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.3142, allocations: 129.8 kB / 0.5466 GB, free: 23.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3142, allocations: 3.219 kB / 0.5466 GB, free: 23.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.211e-05/0.3142, allocations: 3.125 kB / 0.5466 GB, free: 23.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3142, allocations: 3.938 kB / 0.5466 GB, free: 23.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3142, allocations: 4 kB / 0.5466 GB, free: 23.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3142, allocations: 14.94 kB / 0.5466 GB, free: 23.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3142, allocations: 0 / 0.5466 GB, free: 23.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.622e-05/0.3143, allocations: 78.11 kB / 0.5467 GB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.335e-06/0.3143, allocations: 6.734 kB / 0.5467 GB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.3143, allocations: 3.938 kB / 0.5467 GB, free: 23.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.289e-05/0.3143, allocations: 0 / 0.5467 GB, free: 23.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.3144, allocations: 7.312 kB / 0.5467 GB, free: 23.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.3144, allocations: 0 / 0.5467 GB, free: 23.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.65e-05/0.3144, allocations: 86.12 kB / 0.5468 GB, free: 23.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3144, allocations: 0 / 0.5468 GB, free: 23.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001823/0.3146, allocations: 3.188 kB / 0.5468 GB, free: 23.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (v.y,v.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002204/0.3148, allocations: 0.6143 MB / 0.5474 GB, free: 23.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.164e-05/0.3149, allocations: 20.97 kB / 0.5474 GB, free: 23.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3149, allocations: 0 / 0.5474 GB, free: 23.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.926e-06/0.3149, allocations: 6.562 kB / 0.5474 GB, free: 23.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.315, allocations: 0 / 0.5474 GB, free: 23.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007262/0.3158, allocations: 1.21 MB / 0.5486 GB, free: 21.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.3159, allocations: 0.6825 MB / 0.5493 GB, free: 21.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.902e-05/0.3159, allocations: 0 / 0.5493 GB, free: 21.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.3159, allocations: 14.66 kB / 0.5493 GB, free: 21.2 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3159, allocations: 0 / 0.5493 GB, free: 21.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.345, allocations: 1.305 MB / 0.5506 GB, free: 20.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.34, allocations: 3.812 kB / 0.5506 GB, free: 20.82 MB / 382.1 MB " [Timeout remaining time 649] (rm -f HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; mkfifo HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.TestVector2D.pipe >> ../files/HanserModelica_HanserModelica.Classes.TestVector2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Classes_TestVector2D_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Classes_TestVector2D.fmu > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.001300564035773] Failed to read output from testmodel.py, exit status != 0: 11.446310302009806 11.457101862 11.142379786 Calling exit ...