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.001015/0.001015, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001097/0.001097, allocations: 197.8 kB / 16.14 MB, free: 6.688 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.297/1.297, allocations: 205.1 MB / 222 MB, free: 4.973 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01149/0.01149, allocations: 1.935 MB / 271.3 MB, free: 3.781 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.001395/0.001395, allocations: 75.88 kB / 329.3 MB, free: 33.19 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08813/0.08954, allocations: 47.14 MB / 376.4 MB, free: 2.012 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.004452/0.09404, allocations: 3.536 MB / 379.9 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.09537, allocations: 0.8307 MB / 380.8 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.09552, allocations: 4 kB / 380.8 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.09571, allocations: 43.67 kB / 380.8 MB, free: 13.56 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.09594, allocations: 107.2 kB / 380.9 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.09618, allocations: 83.88 kB / 381 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.09656, allocations: 406 kB / 381.4 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.09678, allocations: 107.4 kB / 381.5 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.09693, allocations: 131.4 kB / 381.6 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.09712, allocations: 155.2 kB / 381.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.488e-05/0.09717, allocations: 20 kB / 381.8 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-05/0.09726, allocations: 28 kB / 381.8 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.09732, allocations: 55.7 kB / 381.9 MB, free: 12.49 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.09749, allocations: 171.1 kB / 382 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.09785, allocations: 374.7 kB / 382.4 MB, free: 11.96 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.09786, allocations: 3.938 kB / 382.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.09787, allocations: 0 / 382.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.09788, allocations: 0 / 382.4 MB, free: 11.95 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.0009821/0.09887, allocations: 0.6235 MB / 383 MB, free: 11.28 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.09892, allocations: 12.03 kB / 383.1 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.193e-05/0.09902, allocations: 59.3 kB / 383.1 MB, free: 11.2 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.029e-05/0.0991, allocations: 40.45 kB / 383.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.09944, allocations: 290.6 kB / 383.4 MB, free: 10.84 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.09947, allocations: 20.94 kB / 383.5 MB, free: 10.82 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.09952, allocations: 31.94 kB / 383.5 MB, free: 10.79 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/0.09994, allocations: 236.9 kB / 383.7 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.09996, allocations: 0 / 383.7 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.373e-05/0.1, allocations: 12 kB / 383.7 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1, allocations: 11.98 kB / 383.7 MB, free: 10.53 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.1003, allocations: 166.2 kB / 383.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.1016, allocations: 0.8066 MB / 384.7 MB, free: 9.508 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005576/0.1022, allocations: 190.5 kB / 384.9 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.1023, allocations: 76.83 kB / 385 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1023, allocations: 0 / 385 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.1024, allocations: 34.56 kB / 385 MB, free: 9.191 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 9.02e-07/0.1024, allocations: 0 / 385 MB, free: 9.191 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001626/0.104, allocations: 0.943 MB / 385.9 MB, free: 8.156 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.104, allocations: 55.41 kB / 386 MB, free: 8.09 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.1043, allocations: 283 kB / 386.3 MB, free: 7.801 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.1044, allocations: 29.7 kB / 386.3 MB, free: 7.766 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.1045, allocations: 184.2 kB / 386.5 MB, free: 7.578 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.425e-05/0.1046, allocations: 90.8 kB / 386.6 MB, free: 7.488 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.071e-05/0.1047, allocations: 57.98 kB / 386.6 MB, free: 7.426 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1048, allocations: 346.8 kB / 387 MB, free: 7.078 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.1049, allocations: 73.89 kB / 387 MB, free: 7.004 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.1051, allocations: 109.3 kB / 387.2 MB, free: 6.883 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.1054, allocations: 192.7 kB / 387.3 MB, free: 6.68 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1054, allocations: 0 / 387.3 MB, free: 6.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003564/0.1058, allocations: 249.2 kB / 387.6 MB, free: 6.43 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1058, allocations: 7.938 kB / 387.6 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.1058, allocations: 7.984 kB / 387.6 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1058, allocations: 4.125 kB / 387.6 MB, free: 6.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.1061, allocations: 59.92 kB / 387.7 MB, free: 6.352 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.1061, allocations: 3.984 kB / 387.7 MB, free: 6.348 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.1062, allocations: 8 kB / 387.7 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.1063, allocations: 15.98 kB / 387.7 MB, free: 6.324 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001951/0.1065, allocations: 172.7 kB / 387.9 MB, free: 6.152 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00014/0.1066, allocations: 112.7 kB / 388 MB, free: 6.027 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002521/0.1069, allocations: 188.4 kB / 388.1 MB, free: 5.828 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.1069, allocations: 4 kB / 388.2 MB, free: 5.824 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0003442/0.1072, allocations: 241.2 kB / 388.4 MB, free: 5.582 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.205e-06/0.1073, allocations: 4.75 kB / 388.4 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1073, allocations: 8 kB / 388.4 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.627e-06/0.1073, allocations: 3.938 kB / 388.4 MB, free: 5.566 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.1075, allocations: 59.92 kB / 388.5 MB, free: 5.508 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.1075, allocations: 0 / 388.5 MB, free: 5.508 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.1076, allocations: 8 kB / 388.5 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.1076, allocations: 11.98 kB / 388.5 MB, free: 5.488 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.0001243/0.1078, allocations: 192.2 kB / 388.7 MB, free: 5.293 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.1078, allocations: 31.56 kB / 388.7 MB, free: 5.262 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003917/0.1082, allocations: 223.8 kB / 388.9 MB, free: 5.039 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1082, allocations: 4 kB / 388.9 MB, free: 5.035 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1082, allocations: 0 / 388.9 MB, free: 5.035 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1083, allocations: 3.984 kB / 388.9 MB, free: 5.031 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009467/0.1092, allocations: 0.7131 MB / 389.6 MB, free: 4.246 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1092, allocations: 0 / 389.6 MB, free: 4.246 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/0.1095, allocations: 59.91 kB / 389.7 MB, free: 4.188 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.748e-06/0.1095, allocations: 4 kB / 389.7 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.1096, allocations: 8 kB / 389.7 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1096, allocations: 3.938 kB / 389.7 MB, free: 4.172 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.1096, allocations: 7.938 kB / 389.7 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/0.1101, allocations: 427.4 kB / 390.1 MB, free: 3.715 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.1102, allocations: 128.7 kB / 390.3 MB, free: 3.57 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.1103, allocations: 8 kB / 390.3 MB, free: 3.562 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.1104, allocations: 8 kB / 390.3 MB, free: 3.555 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.1105, allocations: 31.84 kB / 390.3 MB, free: 3.523 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.1105, allocations: 8 kB / 390.3 MB, free: 3.516 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001803/0.1107, allocations: 201.9 kB / 390.5 MB, free: 3.32 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1107, allocations: 0 / 390.5 MB, free: 3.32 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004269/0.1111, allocations: 116 kB / 390.6 MB, free: 3.207 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.0008112/0.1119, allocations: 0.9589 MB / 391.6 MB, free: 2.203 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005032/0.1125, allocations: 297 kB / 391.9 MB, free: 1.914 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1125, allocations: 0 / 391.9 MB, free: 1.914 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.1126, allocations: 83.86 kB / 392 MB, free: 1.832 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004797/0.1131, allocations: 52.97 kB / 392 MB, free: 1.781 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/0.1168, allocations: 3.202 MB / 395.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.1172, allocations: 0.7755 MB / 396 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.1173, allocations: 38.25 kB / 396 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.1175, allocations: 95.41 kB / 396.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1175, allocations: 0 / 396.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2992/0.4167, allocations: 5.625 MB / 401.7 MB, free: 7.863 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003272/0.417, allocations: 168.3 kB / 401.9 MB, free: 7.605 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.144, allocations: 0 / 401.9 MB, free: 7.605 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)