Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestCylinderUnitLinearize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(MEV.Test.TestCylinderUnitLinearize,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitLinearize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinderUnitLinearize,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitLinearize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 192.4 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.1 MB / 222.1 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008247/0.008247, allocations: 1.935 MB / 271.4 MB, free: 3.508 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001308, allocations: 71.84 kB / 329.4 MB, free: 33.06 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07169/0.073, allocations: 47.14 MB / 376.6 MB, free: 1.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.004159/0.0772, allocations: 3.54 MB / 380.1 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.07839, allocations: 0.8345 MB / 381 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.07854, allocations: 12 kB / 381 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.0787, allocations: 31.69 kB / 381 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.07892, allocations: 107.2 kB / 381.1 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.07916, allocations: 79.92 kB / 381.2 MB, free: 13.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003589/0.07953, allocations: 422.1 kB / 381.6 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.07974, allocations: 139.6 kB / 381.7 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.07989, allocations: 151.4 kB / 381.9 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.08008, allocations: 155.3 kB / 382 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.535e-05/0.08013, allocations: 36 kB / 382.1 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.88e-05/0.08022, allocations: 43.94 kB / 382.1 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.388e-05/0.08028, allocations: 71.75 kB / 382.2 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.08044, allocations: 187.1 kB / 382.4 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.0808, allocations: 390.7 kB / 382.7 MB, free: 11.68 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.08081, allocations: 3.938 kB / 382.7 MB, free: 11.68 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.08082, allocations: 4 kB / 382.7 MB, free: 11.68 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.08083, allocations: 0 / 382.7 MB, free: 11.68 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009032/0.08174, allocations: 0.6117 MB / 383.4 MB, free: 11.02 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.08179, allocations: 15.89 kB / 383.4 MB, free: 11 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.853e-05/0.08188, allocations: 67.28 kB / 383.4 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.18e-05/0.08195, allocations: 40.47 kB / 383.5 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.08228, allocations: 290.6 kB / 383.8 MB, free: 10.56 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.0823, allocations: 20.94 kB / 383.8 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.08236, allocations: 31.94 kB / 383.8 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.08276, allocations: 228.9 kB / 384 MB, free: 10.28 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.08278, allocations: 0 / 384 MB, free: 10.28 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.08281, allocations: 12 kB / 384 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.08284, allocations: 15.94 kB / 384.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.08314, allocations: 174.1 kB / 384.2 MB, free: 10.08 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.08431, allocations: 0.8066 MB / 385 MB, free: 9.227 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004709/0.08479, allocations: 182.6 kB / 385.2 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.08493, allocations: 76.83 kB / 385.3 MB, free: 8.961 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.08496, allocations: 4 kB / 385.3 MB, free: 8.957 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.08499, allocations: 38.5 kB / 385.3 MB, free: 8.91 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.08499, allocations: 4 kB / 385.3 MB, free: 8.906 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001479/0.08648, allocations: 0.9374 MB / 386.3 MB, free: 7.879 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.08653, allocations: 55.41 kB / 386.3 MB, free: 7.812 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.0868, allocations: 283 kB / 386.6 MB, free: 7.523 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.08682, allocations: 29.7 kB / 386.6 MB, free: 7.488 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.08694, allocations: 184.4 kB / 386.8 MB, free: 7.305 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.787e-05/0.08701, allocations: 94.64 kB / 386.9 MB, free: 7.211 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.56e-05/0.08709, allocations: 53.98 kB / 387 MB, free: 7.152 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.08721, allocations: 334.8 kB / 387.3 MB, free: 6.816 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.08733, allocations: 73.95 kB / 387.4 MB, free: 6.742 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.08748, allocations: 109.4 kB / 387.5 MB, free: 6.621 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.08774, allocations: 184.7 kB / 387.6 MB, free: 6.426 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.08775, allocations: 4 kB / 387.7 MB, free: 6.422 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003507/0.08811, allocations: 261.1 kB / 387.9 MB, free: 6.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.08813, allocations: 11.94 kB / 387.9 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.08814, allocations: 0 / 387.9 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.08816, allocations: 4 kB / 387.9 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.0884, allocations: 55.91 kB / 388 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.08842, allocations: 4 kB / 388 MB, free: 6.086 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.08855, allocations: 4 kB / 388 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.08857, allocations: 16.12 kB / 388 MB, free: 6.066 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001866/0.08876, allocations: 172.7 kB / 388.2 MB, free: 5.895 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001276/0.0889, allocations: 112.7 kB / 388.3 MB, free: 5.77 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002369/0.08914, allocations: 192.3 kB / 388.5 MB, free: 5.566 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.08915, allocations: 0 / 388.5 MB, free: 5.566 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0003275/0.08948, allocations: 245.3 kB / 388.7 MB, free: 5.32 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/0.08949, allocations: 4 kB / 388.7 MB, free: 5.316 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-06/0.0895, allocations: 0 / 388.7 MB, free: 5.316 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.849e-06/0.08951, allocations: 7.938 kB / 388.7 MB, free: 5.309 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.08973, allocations: 59.91 kB / 388.8 MB, free: 5.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.08974, allocations: 4 kB / 388.8 MB, free: 5.246 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.08987, allocations: 16.12 kB / 388.8 MB, free: 5.23 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.08988, allocations: 4 kB / 388.8 MB, free: 5.227 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (34): * Single equations (assignments): 34 * 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 0.0001002/0.08999, allocations: 192.2 kB / 389 MB, free: 5.031 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/0.09005, allocations: 39.5 kB / 389 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003473/0.0904, allocations: 219.8 kB / 389.2 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.09041, allocations: 4 kB / 389.2 MB, free: 4.77 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.09042, allocations: 3.984 kB / 389.2 MB, free: 4.766 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.09043, allocations: 0 / 389.2 MB, free: 4.766 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008573/0.09129, allocations: 0.7208 MB / 390 MB, free: 3.973 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.09131, allocations: 4 kB / 390 MB, free: 3.969 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.09161, allocations: 59.91 kB / 390 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.09162, allocations: 160 / 390 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.09164, allocations: 12 kB / 390 MB, free: 3.898 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.09165, allocations: 4 kB / 390 MB, free: 3.895 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.09166, allocations: 0 / 390 MB, free: 3.895 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004912/0.09215, allocations: 431.2 kB / 390.5 MB, free: 3.441 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.09228, allocations: 128.7 kB / 390.6 MB, free: 3.297 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.09232, allocations: 8 kB / 390.6 MB, free: 3.289 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.0925, allocations: 11.94 kB / 390.6 MB, free: 3.277 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.09254, allocations: 27.91 kB / 390.6 MB, free: 3.25 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.09256, allocations: 4 kB / 390.6 MB, free: 3.246 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001772/0.09274, allocations: 202 kB / 390.8 MB, free: 3.051 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.09275, allocations: 4 kB / 390.8 MB, free: 3.047 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000433/0.09319, allocations: 112 kB / 391 MB, free: 2.938 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * 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 (26): * Single equations (assignments): 26 * 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.0007196/0.09391, allocations: 0.9628 MB / 391.9 MB, free: 1.93 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004586/0.09438, allocations: 295.9 kB / 392.2 MB, free: 1.641 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.09439, allocations: 0 / 392.2 MB, free: 1.641 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.09453, allocations: 92.59 kB / 392.3 MB, free: 1.551 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.09501, allocations: 56.8 kB / 392.4 MB, free: 1.496 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/0.09852, allocations: 3.197 MB / 395.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.09883, allocations: 0.7794 MB / 396.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001495/0.09899, allocations: 34.28 kB / 396.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.09913, allocations: 95.41 kB / 396.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.09914, allocations: 0 / 396.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.124, allocations: 5.747 MB / 402.2 MB, free: 7.477 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/0.1242, allocations: 168.4 kB / 402.4 MB, free: 7.219 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/1.879, allocations: 0 / 402.4 MB, free: 7.219 MB / 302.1 MB (rm -f MEV_MEV.Test.TestCylinderUnitLinearize.pipe ; mkfifo MEV_MEV.Test.TestCylinderUnitLinearize.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinderUnitLinearize.pipe >> ../files/MEV_MEV.Test.TestCylinderUnitLinearize.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestCylinderUnitLinearize_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinderUnitLinearize.fmu > MEV_MEV.Test.TestCylinderUnitLinearize.pipe 2>&1)