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.001231/0.001231, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007936/0.007936, allocations: 172.6 kB / 16.27 MB, free: 6.66 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.437/1.437, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009003/0.009003, allocations: 1.924 MB / 272.7 MB, free: 3.289 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.0004988/0.0004989, allocations: 12.22 kB / 331.6 MB, free: 32.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08365/0.08416, allocations: 48.1 MB / 379.7 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarOpenLoop): time 0.003268/0.08746, allocations: 3.213 MB / 382.9 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.08886, allocations: 0.8268 MB / 383.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.089, allocations: 4 kB / 383.7 MB, free: 12.67 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.08914, allocations: 39.67 kB / 383.8 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.08936, allocations: 107.2 kB / 383.9 MB, free: 12.53 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.0896, allocations: 87.92 kB / 384 MB, free: 12.44 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003588/0.08996, allocations: 406 kB / 384.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.09017, allocations: 99.81 kB / 384.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.09031, allocations: 123.5 kB / 384.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.09051, allocations: 147.2 kB / 384.7 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.09055, allocations: 16 kB / 384.7 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.859e-05/0.09063, allocations: 24 kB / 384.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.445e-05/0.09069, allocations: 51.75 kB / 384.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.09084, allocations: 184.8 kB / 385 MB, free: 11.4 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.09118, allocations: 374.5 kB / 385.4 MB, free: 11.04 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.0912, allocations: 0 / 385.4 MB, free: 11.04 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.0912, allocations: 0 / 385.4 MB, free: 11.04 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.09121, allocations: 0 / 385.4 MB, free: 11.04 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.0008081/0.09203, allocations: 0.5651 MB / 385.9 MB, free: 10.42 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.09207, allocations: 12.03 kB / 385.9 MB, free: 10.41 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.03e-05/0.09214, allocations: 62.72 kB / 386 MB, free: 10.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.663e-05/0.0922, allocations: 36.47 kB / 386 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.09252, allocations: 294.6 kB / 386.3 MB, free: 9.977 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.09254, allocations: 24.94 kB / 386.3 MB, free: 9.953 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.215e-05/0.0926, allocations: 27.94 kB / 386.4 MB, free: 9.926 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.09302, allocations: 244.9 kB / 386.6 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.09304, allocations: 0 / 386.6 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.09308, allocations: 19.88 kB / 386.6 MB, free: 9.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.09309, allocations: 8 kB / 386.6 MB, free: 9.652 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.09343, allocations: 182.2 kB / 386.8 MB, free: 9.473 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.09475, allocations: 0.9108 MB / 387.7 MB, free: 8.508 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.09513, allocations: 182.6 kB / 387.9 MB, free: 8.32 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.09528, allocations: 88.95 kB / 388 MB, free: 8.23 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.09531, allocations: 11.98 kB / 388 MB, free: 8.219 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.09535, allocations: 42.5 kB / 388 MB, free: 8.168 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.182e-06/0.09536, allocations: 0 / 388 MB, free: 8.168 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001644/0.097, allocations: 0.9884 MB / 389 MB, free: 7.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.09705, allocations: 55.34 kB / 389.1 MB, free: 7.023 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.09733, allocations: 291.3 kB / 389.4 MB, free: 6.723 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.09736, allocations: 29.7 kB / 389.4 MB, free: 6.688 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.09748, allocations: 188.2 kB / 389.6 MB, free: 6.5 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/0.09754, allocations: 82.75 kB / 389.7 MB, free: 6.418 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.09759, allocations: 33.7 kB / 389.7 MB, free: 6.379 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.09772, allocations: 334.8 kB / 390 MB, free: 6.043 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.09787, allocations: 71.97 kB / 390.1 MB, free: 5.973 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.09804, allocations: 124.1 kB / 390.2 MB, free: 5.836 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.09837, allocations: 208.2 kB / 390.4 MB, free: 5.617 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.09838, allocations: 0 / 390.4 MB, free: 5.617 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004238/0.09881, allocations: 277.1 kB / 390.7 MB, free: 5.34 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.409e-05/0.09889, allocations: 120.5 kB / 390.8 MB, free: 5.203 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.0989, allocations: 4 kB / 390.8 MB, free: 5.199 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.09892, allocations: 0 / 390.8 MB, free: 5.199 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.09917, allocations: 67.91 kB / 390.9 MB, free: 5.133 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.09918, allocations: 0 / 390.9 MB, free: 5.133 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.09932, allocations: 8 kB / 390.9 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.09935, allocations: 8 kB / 390.9 MB, free: 5.117 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.791e-06/0.09936, allocations: 8 kB / 390.9 MB, free: 5.109 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003621/0.09972, allocations: 224 kB / 391.1 MB, free: 4.891 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.09974, allocations: 7.938 kB / 391.1 MB, free: 4.883 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-06/0.09974, allocations: 0 / 391.1 MB, free: 4.883 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.09996, allocations: 67.91 kB / 391.2 MB, free: 4.816 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.09998, allocations: 3.938 kB / 391.2 MB, free: 4.812 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.1001, allocations: 16.12 kB / 391.2 MB, free: 4.797 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.1001, allocations: 4 kB / 391.2 MB, free: 4.793 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.0001505/0.1003, allocations: 229 kB / 391.4 MB, free: 4.559 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.922e-05/0.1003, allocations: 27.72 kB / 391.5 MB, free: 4.531 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000411/0.1007, allocations: 235.7 kB / 391.7 MB, free: 4.297 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.1008, allocations: 7.938 kB / 391.7 MB, free: 4.289 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1008, allocations: 4 kB / 391.7 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1008, allocations: 0 / 391.7 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008562/0.1016, allocations: 0.7201 MB / 392.4 MB, free: 3.496 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1017, allocations: 4.125 kB / 392.4 MB, free: 3.492 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.1019, allocations: 67.89 kB / 392.5 MB, free: 3.426 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1019, allocations: 0 / 392.5 MB, free: 3.426 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.102, allocations: 8 kB / 392.5 MB, free: 3.418 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.102, allocations: 0 / 392.5 MB, free: 3.418 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.102, allocations: 4 kB / 392.5 MB, free: 3.414 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005594/0.1025, allocations: 446.3 kB / 393 MB, free: 2.949 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.1027, allocations: 132.7 kB / 393.1 MB, free: 2.801 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.1027, allocations: 15.94 kB / 393.1 MB, free: 2.785 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.1029, allocations: 12 kB / 393.1 MB, free: 2.773 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.1029, allocations: 27.91 kB / 393.1 MB, free: 2.746 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.103, allocations: 4 kB / 393.1 MB, free: 2.742 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001854/0.1031, allocations: 206 kB / 393.3 MB, free: 2.543 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1031, allocations: 0 / 393.3 MB, free: 2.543 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000408/0.1036, allocations: 116 kB / 393.5 MB, free: 2.43 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.0008505/0.1044, allocations: 0.9816 MB / 394.4 MB, free: 1.406 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005233/0.105, allocations: 303.9 kB / 394.7 MB, free: 1.109 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.105, allocations: 0 / 394.7 MB, free: 1.109 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.1051, allocations: 100.6 kB / 394.8 MB, free: 1.012 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.1056, allocations: 48.72 kB / 394.9 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/0.1092, allocations: 3.342 MB / 398.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.1095, allocations: 0.7758 MB / 399 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001337/0.1096, allocations: 30.27 kB / 399 MB, free: 12.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.1098, allocations: 99.39 kB / 399.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1098, allocations: 8 kB / 399.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2884/0.3982, allocations: 5.545 MB / 404.7 MB, free: 7.016 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/0.3984, allocations: 157.3 kB / 404.8 MB, free: 6.762 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/2.379, allocations: 0 / 404.8 MB, free: 6.762 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)