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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 118.7 kB / 17.16 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 207.6 MB / 230.5 MB, free: 4.008 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01371/0.01371, allocations: 1.962 MB / 284.3 MB, free: 14.36 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(MEV.Test.TestBellJarOpenLoop,fileNamePrefix="MEV_MEV_Test_TestBellJarOpenLoop",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestBellJarOpenLoop,fileNamePrefix="MEV_MEV_Test_TestBellJarOpenLoop",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 67.91 kB / 397.3 MB, free: 8.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2433, allocations: 49.67 MB / 446.9 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarOpenLoop): time 0.003657/0.247, allocations: 3.18 MB / 450.1 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.2482, allocations: 0.8064 MB / 450.9 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.2483, allocations: 8.031 kB / 450.9 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.2485, allocations: 53.56 kB / 451 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.2488, allocations: 129 kB / 451.1 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.2491, allocations: 87.84 kB / 451.2 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.2494, allocations: 429 kB / 451.6 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.2496, allocations: 92.12 kB / 451.7 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.2499, allocations: 160 kB / 451.9 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.2501, allocations: 167 kB / 452 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.829e-05/0.2502, allocations: 33 kB / 452.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.2503, allocations: 44.7 kB / 452.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.401e-05/0.2504, allocations: 74.95 kB / 452.2 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.2506, allocations: 182.2 kB / 452.4 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005456/0.2511, allocations: 402.5 kB / 452.8 MB, free: 4.664 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2511, allocations: 1.375 kB / 452.8 MB, free: 4.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2511, allocations: 0 / 452.8 MB, free: 4.664 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.2511, allocations: 4 kB / 452.8 MB, free: 4.66 MB / 318.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.0009578/0.2521, allocations: 0.6336 MB / 453.4 MB, free: 4.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2521, allocations: 13.45 kB / 453.4 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.368e-05/0.2521, allocations: 11.5 kB / 453.4 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.68e-05/0.2522, allocations: 66.16 kB / 453.5 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.798e-05/0.2523, allocations: 43.39 kB / 453.5 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.2526, allocations: 289.5 kB / 453.8 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.2527, allocations: 27.66 kB / 453.8 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.082e-05/0.2527, allocations: 29.64 kB / 453.9 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.2531, allocations: 238 kB / 454.1 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.2532, allocations: 1.406 kB / 454.1 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.2532, allocations: 10.5 kB / 454.1 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.2532, allocations: 7.484 kB / 454.1 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003271/0.2535, allocations: 182.5 kB / 454.3 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.2548, allocations: 0.8968 MB / 455.2 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.2552, allocations: 184.2 kB / 455.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.2553, allocations: 72.34 kB / 455.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.2554, allocations: 3.25 kB / 455.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2554, allocations: 35.94 kB / 455.5 MB, free: 2.797 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.342e-06/0.2554, allocations: 0 / 455.5 MB, free: 2.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001701/0.2571, allocations: 0.9756 MB / 456.5 MB, free: 2.082 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.2571, allocations: 55.67 kB / 456.5 MB, free: 2.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.2574, allocations: 285 kB / 456.8 MB, free: 1.859 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.2574, allocations: 27.08 kB / 456.8 MB, free: 1.828 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.874e-05/0.2575, allocations: 192.3 kB / 457 MB, free: 1.664 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.2576, allocations: 97.38 kB / 457.1 MB, free: 1.586 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-05/0.2576, allocations: 58.27 kB / 457.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.28e-05/0.2577, allocations: 338.4 kB / 457.5 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.2579, allocations: 75.34 kB / 457.6 MB, free: 1.191 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.258, allocations: 122.1 kB / 457.7 MB, free: 1.113 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.2583, allocations: 199.7 kB / 457.9 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.2583, allocations: 0 / 457.9 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000412/0.2587, allocations: 268.1 kB / 458.1 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.2587, allocations: 9.531 kB / 458.1 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2588, allocations: 1.344 kB / 458.1 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.2588, allocations: 3.25 kB / 458.1 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.259, allocations: 63.27 kB / 458.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.259, allocations: 7.109 kB / 458.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.2592, allocations: 9.344 kB / 458.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.2592, allocations: 12.36 kB / 458.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001946/0.2594, allocations: 180.5 kB / 458.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001475/0.2595, allocations: 121.5 kB / 458.5 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000274/0.2598, allocations: 203.9 kB / 458.7 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/0.2598, allocations: 1.219 kB / 458.7 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.00037/0.2602, allocations: 264 kB / 459 MB, free: 404 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.772e-06/0.2602, allocations: 4.719 kB / 459 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.2602, allocations: 1.703 kB / 459 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.478e-06/0.2602, allocations: 7.625 kB / 459 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.2604, allocations: 58 kB / 459.1 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.2604, allocations: 3.219 kB / 459.1 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.2605, allocations: 17.34 kB / 459.1 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.2606, allocations: 11.34 kB / 459.1 MB, free: 380 kB / 318.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 6.726e-05/0.2606, allocations: 193.2 kB / 459.3 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.2607, allocations: 33.88 kB / 459.3 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003919/0.2611, allocations: 231.4 kB / 459.5 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2611, allocations: 3.344 kB / 459.5 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2611, allocations: 0 / 459.5 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.2611, allocations: 6.984 kB / 459.5 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.2622, allocations: 0.7214 MB / 460.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.2622, allocations: 8.141 kB / 460.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.2625, allocations: 59.64 kB / 460.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.2625, allocations: 2.828 kB / 460.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.2625, allocations: 11.41 kB / 460.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.2625, allocations: 2.75 kB / 460.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.2625, allocations: 1.781 kB / 460.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006501/0.2632, allocations: 444.6 kB / 460.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.2633, allocations: 130.3 kB / 460.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/0.2633, allocations: 12.77 kB / 460.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.2635, allocations: 11.59 kB / 460.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.2636, allocations: 22.41 kB / 461 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.2636, allocations: 6.781 kB / 461 MB, free: 15.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002173/0.2638, allocations: 204 kB / 461.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2638, allocations: 3.938 kB / 461.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004456/0.2642, allocations: 124 kB / 461.3 MB, free: 14.93 MB / 334.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.0009379/0.2652, allocations: 0.9634 MB / 462.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005548/0.2657, allocations: 302.7 kB / 462.5 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2657, allocations: 0 / 462.5 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.2659, allocations: 88.62 kB / 462.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.2663, allocations: 46.28 kB / 462.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/0.2704, allocations: 3.107 MB / 465.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.2708, allocations: 0.7732 MB / 466.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.271, allocations: 35.73 kB / 466.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.2711, allocations: 95.75 kB / 466.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2711, allocations: 0 / 466.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.2949, allocations: 6.126 MB / 472.8 MB, free: 6.48 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.265/8.56, allocations: 8 kB / 472.8 MB, free: 6.473 MB / 334.1 MB " [Timeout remaining time 651] (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 --stepSize=0.005 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestBellJarOpenLoop.fmu > MEV_MEV.Test.TestBellJarOpenLoop.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.891501345031429] Failed to read output from testmodel.py, exit status != 0: 8.688066160015296 8.715104636 8.459109174 Calling exit ...