Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestBellJarOpenLoop.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.TestBellJarOpenLoop,fileNamePrefix="MEV_MEV_Test_TestBellJarOpenLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestBellJarOpenLoop,fileNamePrefix="MEV_MEV_Test_TestBellJarOpenLoop",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.001242/0.001242, 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.001435/0.001435, allocations: 195.3 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.591/1.591, allocations: 205.1 MB / 222 MB, free: 4.977 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009592/0.009592, allocations: 1.932 MB / 271.3 MB, free: 3.789 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.001399/0.0014, allocations: 71.34 kB / 329.3 MB, free: 33.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08648/0.0879, allocations: 47.13 MB / 376.4 MB, free: 2.023 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarOpenLoop): time 0.004635/0.09256, allocations: 3.583 MB / 380 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.09417, allocations: 0.8345 MB / 380.8 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003341/0.09453, allocations: 4 kB / 380.8 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.09477, allocations: 39.69 kB / 380.9 MB, free: 13.53 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.09508, allocations: 107.1 kB / 381 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.09531, allocations: 87.86 kB / 381 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004316/0.09575, allocations: 402.1 kB / 381.4 MB, free: 12.94 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.09594, allocations: 115.8 kB / 381.5 MB, free: 12.83 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.09612, allocations: 135.3 kB / 381.7 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.0963, allocations: 155.2 kB / 381.8 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.09635, allocations: 16 kB / 381.8 MB, free: 12.53 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.702e-05/0.09643, allocations: 28 kB / 381.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.683e-05/0.09648, allocations: 55.7 kB / 381.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.09664, allocations: 171.1 kB / 382.1 MB, free: 12.28 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.09697, allocations: 378.7 kB / 382.5 MB, free: 11.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.09698, allocations: 4 kB / 382.5 MB, free: 11.91 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.09699, allocations: 0 / 382.5 MB, free: 11.91 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.097, allocations: 7.938 kB / 382.5 MB, free: 11.9 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.000938/0.09794, allocations: 0.6234 MB / 383.1 MB, free: 11.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.09798, allocations: 12.02 kB / 383.1 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.379e-05/0.09804, allocations: 58.73 kB / 383.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.354e-05/0.09811, allocations: 44.47 kB / 383.2 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.09841, allocations: 286.7 kB / 383.5 MB, free: 10.79 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.09843, allocations: 20.94 kB / 383.5 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.09848, allocations: 31.84 kB / 383.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.09887, allocations: 244.8 kB / 383.8 MB, free: 10.49 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.09889, allocations: 0 / 383.8 MB, free: 10.49 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.09892, allocations: 12 kB / 383.8 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.09893, allocations: 8 kB / 383.8 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.09925, allocations: 174.2 kB / 384 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.1005, allocations: 0.9186 MB / 384.9 MB, free: 9.324 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/0.1008, allocations: 182.5 kB / 385.1 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.101, allocations: 76.88 kB / 385.1 MB, free: 9.059 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.101, allocations: 4 kB / 385.2 MB, free: 9.055 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.101, allocations: 46.55 kB / 385.2 MB, free: 9 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.172e-06/0.1011, allocations: 4 kB / 385.2 MB, free: 8.996 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001556/0.1026, allocations: 0.9626 MB / 386.2 MB, free: 7.941 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.1027, allocations: 59.41 kB / 386.2 MB, free: 7.871 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.1029, allocations: 279.4 kB / 386.5 MB, free: 7.582 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.1029, allocations: 33.7 kB / 386.5 MB, free: 7.543 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.103, allocations: 184.2 kB / 386.7 MB, free: 7.359 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.053e-05/0.1031, allocations: 90.89 kB / 386.8 MB, free: 7.27 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.84e-05/0.1032, allocations: 57.61 kB / 386.9 MB, free: 7.207 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1033, allocations: 338.8 kB / 387.2 MB, free: 6.867 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.1035, allocations: 76.83 kB / 387.3 MB, free: 6.789 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.1036, allocations: 124 kB / 387.4 MB, free: 6.652 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.1039, allocations: 204.2 kB / 387.6 MB, free: 6.438 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.104, allocations: 7.875 kB / 387.6 MB, free: 6.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004051/0.1044, allocations: 265.3 kB / 387.8 MB, free: 6.164 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.1044, allocations: 7.938 kB / 387.9 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1044, allocations: 3.938 kB / 387.9 MB, free: 6.152 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1044, allocations: 4 kB / 387.9 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.1047, allocations: 60.03 kB / 387.9 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.1047, allocations: 8 kB / 387.9 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.1048, allocations: 15.89 kB / 387.9 MB, free: 6.066 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.1049, allocations: 8 kB / 388 MB, free: 6.059 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002222/0.1051, allocations: 184.1 kB / 388.1 MB, free: 5.875 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001451/0.1052, allocations: 116.2 kB / 388.2 MB, free: 5.746 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002854/0.1055, allocations: 204.4 kB / 388.4 MB, free: 5.531 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.252e-06/0.1056, allocations: 0 / 388.4 MB, free: 5.531 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0003859/0.1059, allocations: 257.2 kB / 388.7 MB, free: 5.273 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.106, allocations: 15.09 kB / 388.7 MB, free: 5.262 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-06/0.106, allocations: 0 / 388.7 MB, free: 5.262 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.579e-06/0.106, allocations: 3.938 kB / 388.7 MB, free: 5.258 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.1062, allocations: 63.91 kB / 388.8 MB, free: 5.195 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1062, allocations: 4 kB / 388.8 MB, free: 5.191 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.1064, allocations: 11.98 kB / 388.8 MB, free: 5.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.1064, allocations: 12 kB / 388.8 MB, free: 5.168 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 (35): * Single equations (assignments): 35 * 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.0001112/0.1065, allocations: 192.2 kB / 389 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.1066, allocations: 27.62 kB / 389 MB, free: 4.945 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003903/0.107, allocations: 235.8 kB / 389.2 MB, free: 4.711 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.107, allocations: 4 kB / 389.3 MB, free: 4.707 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.107, allocations: 0 / 389.3 MB, free: 4.707 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.107, allocations: 3.984 kB / 389.3 MB, free: 4.703 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008891/0.1079, allocations: 0.7161 MB / 390 MB, free: 3.918 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1079, allocations: 3.984 kB / 390 MB, free: 3.914 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.1082, allocations: 55.97 kB / 390 MB, free: 3.859 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1082, allocations: 7.938 kB / 390 MB, free: 3.852 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.1082, allocations: 8 kB / 390 MB, free: 3.844 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.1082, allocations: 4 kB / 390 MB, free: 3.84 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1082, allocations: 3.984 kB / 390.1 MB, free: 3.836 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005491/0.1088, allocations: 438.5 kB / 390.5 MB, free: 3.379 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.1089, allocations: 128.7 kB / 390.6 MB, free: 3.234 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.109, allocations: 11.88 kB / 390.6 MB, free: 3.223 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.1092, allocations: 19.98 kB / 390.6 MB, free: 3.203 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.1092, allocations: 19.92 kB / 390.7 MB, free: 3.184 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.1092, allocations: 8 kB / 390.7 MB, free: 3.176 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001776/0.1094, allocations: 202 kB / 390.9 MB, free: 2.98 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1094, allocations: 0 / 390.9 MB, free: 2.98 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004229/0.1099, allocations: 116 kB / 391 MB, free: 2.867 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0007661/0.1106, allocations: 0.9775 MB / 392 MB, free: 1.848 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005088/0.1111, allocations: 316.6 kB / 392.3 MB, free: 1.539 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1112, allocations: 0 / 392.3 MB, free: 1.539 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.1113, allocations: 95.84 kB / 392.4 MB, free: 1.445 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.1118, allocations: 40.64 kB / 392.4 MB, free: 1.406 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003601/0.1154, allocations: 3.233 MB / 395.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.1157, allocations: 0.7719 MB / 396.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.1158, allocations: 38.25 kB / 396.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.116, allocations: 103.3 kB / 396.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.116, allocations: 0 / 396.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2952/0.4112, allocations: 5.656 MB / 402.2 MB, free: 7.43 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/0.4115, allocations: 156.7 kB / 402.3 MB, free: 7.176 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.12/2.531, allocations: 3.984 kB / 402.4 MB, free: 7.172 MB / 302.1 MB (rm -f MEV_MEV.Test.TestBellJarOpenLoop.pipe ; mkfifo MEV_MEV.Test.TestBellJarOpenLoop.pipe ; head -c 1048576 < MEV_MEV.Test.TestBellJarOpenLoop.pipe >> ../files/MEV_MEV.Test.TestBellJarOpenLoop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestBellJarOpenLoop_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestBellJarOpenLoop.fmu > MEV_MEV.Test.TestBellJarOpenLoop.pipe 2>&1)