Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestBellJarLinearControl.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.TestBellJarLinearControl,fileNamePrefix="MEV_MEV_Test_TestBellJarLinearControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestBellJarLinearControl,fileNamePrefix="MEV_MEV_Test_TestBellJarLinearControl",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.001299/0.001299, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001329/0.001329, allocations: 188.9 kB / 16.25 MB, free: 6.629 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.342/1.342, allocations: 205.1 MB / 222.1 MB, free: 4.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008946/0.008946, allocations: 1.928 MB / 271.4 MB, free: 3.508 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.001342/0.001342, allocations: 63.91 kB / 329.4 MB, free: 33.07 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06892/0.07027, allocations: 47.14 MB / 376.6 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.004996/0.07531, allocations: 4.274 MB / 380.9 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.07698, allocations: 0.9747 MB / 381.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.07718, allocations: 8 kB / 381.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.07737, allocations: 43.61 kB / 381.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.07765, allocations: 127 kB / 382 MB, free: 12.42 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.07799, allocations: 115.8 kB / 382.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000489/0.07848, allocations: 0.5523 MB / 382.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.07875, allocations: 177.9 kB / 382.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.07896, allocations: 195.2 kB / 383 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.07919, allocations: 222.9 kB / 383.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.742e-05/0.07925, allocations: 44 kB / 383.3 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.762e-05/0.07935, allocations: 56 kB / 383.4 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.969e-05/0.07944, allocations: 91.62 kB / 383.4 MB, free: 10.97 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.07964, allocations: 250.8 kB / 383.7 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004473/0.0801, allocations: 498.3 kB / 384.2 MB, free: 10.24 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.08011, allocations: 0 / 384.2 MB, free: 10.24 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.08012, allocations: 11.94 kB / 384.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.08014, allocations: 0 / 384.2 MB, free: 10.23 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001226/0.08137, allocations: 0.7591 MB / 384.9 MB, free: 9.414 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.08141, allocations: 15.89 kB / 385 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.558e-05/0.0815, allocations: 74.7 kB / 385 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.008e-05/0.08159, allocations: 52.38 kB / 385.1 MB, free: 9.266 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.08193, allocations: 327.2 kB / 385.4 MB, free: 8.906 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.08197, allocations: 25.38 kB / 385.4 MB, free: 8.883 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.189e-05/0.08204, allocations: 51.81 kB / 385.5 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005942/0.08264, allocations: 326.5 kB / 385.8 MB, free: 8.508 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.08267, allocations: 0 / 385.8 MB, free: 8.508 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.08271, allocations: 16 kB / 385.8 MB, free: 8.492 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.08272, allocations: 12 kB / 385.8 MB, free: 8.48 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005333/0.08326, allocations: 255.9 kB / 386.1 MB, free: 8.23 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.08496, allocations: 1.128 MB / 387.2 MB, free: 7.043 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005348/0.08551, allocations: 279.4 kB / 387.5 MB, free: 6.762 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.08575, allocations: 117.3 kB / 387.6 MB, free: 6.645 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.08579, allocations: 4.234 kB / 387.6 MB, free: 6.641 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003805/0.08618, allocations: 163.5 kB / 387.8 MB, free: 6.469 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.08619, allocations: 4 kB / 387.8 MB, free: 6.465 MB / 286.1 MB Notification: Performance of matching and sorting (n=34): time 0.002285/0.08848, allocations: 1.216 MB / 389 MB, free: 5.16 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.08853, allocations: 59.41 kB / 389 MB, free: 5.09 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/0.08886, allocations: 341.6 kB / 389.4 MB, free: 4.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.0889, allocations: 33.7 kB / 389.4 MB, free: 4.711 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.08904, allocations: 212.5 kB / 389.6 MB, free: 4.5 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.298e-05/0.08913, allocations: 118.3 kB / 389.7 MB, free: 4.383 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.08925, allocations: 73.98 kB / 389.8 MB, free: 4.301 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.08938, allocations: 346.8 kB / 390.1 MB, free: 3.953 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.08964, allocations: 118.3 kB / 390.2 MB, free: 3.836 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/0.08993, allocations: 162.4 kB / 390.4 MB, free: 3.664 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00051/0.09045, allocations: 289 kB / 390.7 MB, free: 3.363 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.09046, allocations: 4 kB / 390.7 MB, free: 3.359 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006639/0.09113, allocations: 398.7 kB / 391.1 MB, free: 2.957 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/0.09118, allocations: 33.8 kB / 391.1 MB, free: 2.918 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.09119, allocations: 7.984 kB / 391.1 MB, free: 2.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.09121, allocations: 0 / 391.1 MB, free: 2.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.0916, allocations: 91.88 kB / 391.2 MB, free: 2.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.09162, allocations: 3.938 kB / 391.2 MB, free: 2.816 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.09185, allocations: 15.98 kB / 391.2 MB, free: 2.801 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.09189, allocations: 16 kB / 391.2 MB, free: 2.785 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003612/0.09225, allocations: 224.9 kB / 391.5 MB, free: 2.562 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002683/0.09253, allocations: 154.7 kB / 391.6 MB, free: 2.398 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004629/0.093, allocations: 281.4 kB / 391.9 MB, free: 2.105 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.09302, allocations: 4 kB / 391.9 MB, free: 2.102 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0006424/0.09367, allocations: 394.5 kB / 392.3 MB, free: 1.703 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.0937, allocations: 37.69 kB / 392.3 MB, free: 1.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-06/0.09371, allocations: 0 / 392.3 MB, free: 1.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.418e-06/0.09372, allocations: 4 kB / 392.3 MB, free: 1.656 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.09405, allocations: 83.89 kB / 392.4 MB, free: 1.574 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.09406, allocations: 4 kB / 392.4 MB, free: 1.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.09428, allocations: 24.02 kB / 392.4 MB, free: 1.547 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.09432, allocations: 12 kB / 392.4 MB, free: 1.535 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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.0001231/0.09445, allocations: 197.1 kB / 392.6 MB, free: 1.336 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.702e-05/0.09451, allocations: 39.53 kB / 392.7 MB, free: 1.297 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006287/0.09515, allocations: 325.3 kB / 393 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.09516, allocations: 4 kB / 393 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.09518, allocations: 11.92 kB / 393 MB, free: 0.957 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.09519, allocations: 0 / 393 MB, free: 0.957 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.0964, allocations: 0.8803 MB / 393.9 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.09642, allocations: 4.062 kB / 393.9 MB, free: 4 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/0.09681, allocations: 79.95 kB / 394 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.09683, allocations: 0 / 394 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.09686, allocations: 8 kB / 394 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.09687, allocations: 7.938 kB / 394 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.09687, allocations: 3.938 kB / 394 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008549/0.09773, allocations: 0.5614 MB / 394.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.09788, allocations: 144.6 kB / 394.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.59e-05/0.09794, allocations: 15.94 kB / 394.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.0982, allocations: 15.98 kB / 394.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/0.09829, allocations: 35.95 kB / 394.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.09832, allocations: 12 kB / 394.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002419/0.09857, allocations: 239.2 kB / 395 MB, free: 14.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09858, allocations: 0 / 395 MB, free: 14.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005071/0.09909, allocations: 156 kB / 395.2 MB, free: 14.69 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (controller.firstOrder.y,bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 3 ($whenCondition1,opening.T_start,opening.count) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001199/0.1003, allocations: 1.11 MB / 396.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.1013, allocations: 0.558 MB / 396.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1013, allocations: 4 kB / 396.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.1016, allocations: 143.8 kB / 397 MB, free: 12.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/0.1021, allocations: 61.97 kB / 397 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004973/0.1071, allocations: 3.946 MB / 401 MB, free: 8.688 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.1075, allocations: 0.804 MB / 401.8 MB, free: 7.859 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002141/0.1077, allocations: 54.92 kB / 401.8 MB, free: 7.805 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.1079, allocations: 131.4 kB / 402 MB, free: 7.676 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1079, allocations: 0 / 402 MB, free: 7.676 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2932/0.4011, allocations: 7.666 MB / 409.6 MB, free: 15.98 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000287/0.4015, allocations: 182.9 kB / 409.8 MB, free: 15.71 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/2.25, allocations: 0 / 409.8 MB, free: 15.71 MB / 318.1 MB (rm -f MEV_MEV.Test.TestBellJarLinearControl.pipe ; mkfifo MEV_MEV.Test.TestBellJarLinearControl.pipe ; head -c 1048576 < MEV_MEV.Test.TestBellJarLinearControl.pipe >> ../files/MEV_MEV.Test.TestBellJarLinearControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestBellJarLinearControl_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestBellJarLinearControl.fmu > MEV_MEV.Test.TestBellJarLinearControl.pipe 2>&1)