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.001234/0.001234, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001301/0.001301, allocations: 195.9 kB / 16.25 MB, free: 6.621 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.34/1.34, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008658/0.008658, allocations: 1.939 MB / 271.4 MB, free: 3.52 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.001325/0.001325, allocations: 75.73 kB / 329.4 MB, free: 33.05 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07073/0.07207, allocations: 47.13 MB / 376.6 MB, free: 1.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarOpenLoop): time 0.004363/0.07647, allocations: 3.595 MB / 380.2 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.07777, allocations: 0.8268 MB / 381 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.07794, allocations: 4 kB / 381 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.07812, allocations: 43.67 kB / 381 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.07833, allocations: 103.2 kB / 381.1 MB, free: 13.28 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.07861, allocations: 87.88 kB / 381.2 MB, free: 13.19 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004005/0.07902, allocations: 430 kB / 381.6 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.07925, allocations: 128.2 kB / 381.8 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.0794, allocations: 143.4 kB / 381.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.07961, allocations: 167.2 kB / 382.1 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.328e-05/0.07966, allocations: 32 kB / 382.1 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.772e-05/0.07976, allocations: 43.98 kB / 382.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.62e-05/0.07982, allocations: 75.7 kB / 382.2 MB, free: 12.19 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.07998, allocations: 183.1 kB / 382.4 MB, free: 12.01 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.08034, allocations: 394.6 kB / 382.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.08035, allocations: 0 / 382.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.08036, allocations: 0 / 382.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.924e-06/0.08039, allocations: 8 kB / 382.8 MB, free: 11.62 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.0009359/0.08133, allocations: 0.6235 MB / 383.4 MB, free: 10.95 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.08137, allocations: 11.89 kB / 383.4 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.889e-05/0.08145, allocations: 62.72 kB / 383.5 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/0.08152, allocations: 40.47 kB / 383.5 MB, free: 10.82 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.08186, allocations: 294.6 kB / 383.8 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.08189, allocations: 24.88 kB / 383.8 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/0.08196, allocations: 31.94 kB / 383.9 MB, free: 10.44 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000446/0.08241, allocations: 232.9 kB / 384.1 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.08245, allocations: 7.891 kB / 384.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.08248, allocations: 12 kB / 384.1 MB, free: 10.19 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.08249, allocations: 4 kB / 384.1 MB, free: 10.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003604/0.08286, allocations: 182.2 kB / 384.3 MB, free: 10.01 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.08425, allocations: 0.9069 MB / 385.2 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.08465, allocations: 186.5 kB / 385.4 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.0848, allocations: 76.83 kB / 385.5 MB, free: 8.773 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.08483, allocations: 7.938 kB / 385.5 MB, free: 8.766 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.08486, allocations: 38.56 kB / 385.5 MB, free: 8.719 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.212e-06/0.08487, allocations: 0 / 385.5 MB, free: 8.719 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001605/0.08648, allocations: 0.9715 MB / 386.5 MB, free: 7.66 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.08652, allocations: 55.41 kB / 386.5 MB, free: 7.594 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.08679, allocations: 287.3 kB / 386.8 MB, free: 7.305 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.08683, allocations: 29.7 kB / 386.8 MB, free: 7.27 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.08694, allocations: 184.2 kB / 387 MB, free: 7.086 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.932e-05/0.08701, allocations: 90.89 kB / 387.1 MB, free: 6.996 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-05/0.0871, allocations: 57.61 kB / 387.2 MB, free: 6.934 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.08722, allocations: 338.8 kB / 387.5 MB, free: 6.594 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.08737, allocations: 80.83 kB / 387.6 MB, free: 6.512 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.08755, allocations: 128 kB / 387.7 MB, free: 6.371 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.08786, allocations: 204.2 kB / 387.9 MB, free: 6.156 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.08787, allocations: 0 / 387.9 MB, free: 6.156 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004091/0.08829, allocations: 257.3 kB / 388.2 MB, free: 5.898 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.08831, allocations: 8 kB / 388.2 MB, free: 5.891 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.08833, allocations: 3.938 kB / 388.2 MB, free: 5.887 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.08835, allocations: 7.938 kB / 388.2 MB, free: 5.879 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.08862, allocations: 64.09 kB / 388.2 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.08864, allocations: 7.922 kB / 388.2 MB, free: 5.809 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.08879, allocations: 11.94 kB / 388.3 MB, free: 5.797 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.08882, allocations: 8 kB / 388.3 MB, free: 5.789 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002222/0.08905, allocations: 184.1 kB / 388.4 MB, free: 5.605 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001557/0.08922, allocations: 112.3 kB / 388.6 MB, free: 5.48 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000286/0.08951, allocations: 204.4 kB / 388.8 MB, free: 5.266 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.08952, allocations: 0 / 388.8 MB, free: 5.266 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.0003905/0.08992, allocations: 265.1 kB / 389 MB, free: 5 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.667e-06/0.08994, allocations: 11.09 kB / 389 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.08995, allocations: 4 kB / 389 MB, free: 4.988 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.589e-06/0.08996, allocations: 3.938 kB / 389 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.0902, allocations: 59.91 kB / 389.1 MB, free: 4.926 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.09021, allocations: 4 kB / 389.1 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.09034, allocations: 12 kB / 389.1 MB, free: 4.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.09036, allocations: 8 kB / 389.1 MB, free: 4.902 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.0001048/0.09047, allocations: 192.2 kB / 389.3 MB, free: 4.707 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.09054, allocations: 39.59 kB / 389.3 MB, free: 4.668 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004291/0.09098, allocations: 231.8 kB / 389.6 MB, free: 4.434 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.09099, allocations: 4 kB / 389.6 MB, free: 4.43 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.091, allocations: 3.938 kB / 389.6 MB, free: 4.426 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.09101, allocations: 0 / 389.6 MB, free: 4.426 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009235/0.09194, allocations: 0.7201 MB / 390.3 MB, free: 3.637 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.09195, allocations: 3.938 kB / 390.3 MB, free: 3.633 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002922/0.09225, allocations: 63.89 kB / 390.4 MB, free: 3.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.09226, allocations: 4 kB / 390.4 MB, free: 3.566 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.09229, allocations: 4 kB / 390.4 MB, free: 3.562 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.0923, allocations: 4 kB / 390.4 MB, free: 3.559 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.0923, allocations: 0 / 390.4 MB, free: 3.559 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005572/0.09287, allocations: 438.5 kB / 390.8 MB, free: 3.102 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.09301, allocations: 136.7 kB / 390.9 MB, free: 2.949 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/0.09306, allocations: 8 kB / 390.9 MB, free: 2.941 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.09323, allocations: 16 kB / 391 MB, free: 2.926 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.09329, allocations: 19.91 kB / 391 MB, free: 2.906 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.09332, allocations: 12 kB / 391 MB, free: 2.895 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001827/0.0935, allocations: 202 kB / 391.2 MB, free: 2.699 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09351, allocations: 0 / 391.2 MB, free: 2.699 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004431/0.09396, allocations: 116 kB / 391.3 MB, free: 2.586 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.0008499/0.09481, allocations: 0.9775 MB / 392.3 MB, free: 1.566 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005636/0.09539, allocations: 312.5 kB / 392.6 MB, free: 1.262 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.0954, allocations: 3.938 kB / 392.6 MB, free: 1.258 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.09556, allocations: 91.91 kB / 392.7 MB, free: 1.168 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.09607, allocations: 41.39 kB / 392.7 MB, free: 1.129 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003972/0.1001, allocations: 3.238 MB / 396 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.1004, allocations: 0.7756 MB / 396.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001496/0.1005, allocations: 38.2 kB / 396.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.1007, allocations: 95.41 kB / 396.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1007, allocations: 0 / 396.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4076/0.5083, allocations: 5.799 MB / 402.7 MB, free: 7.016 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003019/0.5087, allocations: 152.9 kB / 402.8 MB, free: 6.766 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/2.268, allocations: 7.875 kB / 402.8 MB, free: 6.758 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)