Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestCylinderUnitOnOff.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.TestCylinderUnitOnOff,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinderUnitOnOff,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitOnOff",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.00493/0.004929, allocations: 99.69 kB / 15.73 MB, free: 6.039 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.001257/0.001257, allocations: 187 kB / 16.67 MB, free: 5.969 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.33/1.33, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008607/0.008607, allocations: 1.932 MB / 271.8 MB, free: 3.266 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.001555/0.001556, allocations: 64.12 kB / 377.7 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07679/0.07836, allocations: 47.13 MB / 424.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.1671/0.2455, allocations: 3.394 MB / 428.3 MB, free: 9.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.2471, allocations: 0.875 MB / 429.1 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003217/0.2474, allocations: 4.562 kB / 429.1 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.2477, allocations: 64.34 kB / 429.2 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004211/0.2481, allocations: 138.1 kB / 429.3 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.2485, allocations: 123 kB / 429.5 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005973/0.2492, allocations: 0.5193 MB / 430 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/0.2494, allocations: 152.7 kB / 430.1 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.2497, allocations: 193.5 kB / 430.3 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.2499, allocations: 202.9 kB / 430.5 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.938e-05/0.25, allocations: 41.78 kB / 430.6 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.2501, allocations: 48.08 kB / 430.6 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.815e-05/0.2502, allocations: 94.95 kB / 430.7 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001703/0.2503, allocations: 225.2 kB / 430.9 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005468/0.2509, allocations: 471.1 kB / 431.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2509, allocations: 0 / 431.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2509, allocations: 0 / 431.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.617e-06/0.2509, allocations: 4 kB / 431.4 MB, free: 8.738 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001203/0.2521, allocations: 0.7369 MB / 432.1 MB, free: 8.148 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.2522, allocations: 16.89 kB / 432.1 MB, free: 8.141 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.366e-05/0.2523, allocations: 72.25 kB / 432.2 MB, free: 8.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.607e-05/0.2523, allocations: 43.06 kB / 432.2 MB, free: 8.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.2527, allocations: 321.4 kB / 432.6 MB, free: 7.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.2527, allocations: 27.62 kB / 432.6 MB, free: 7.758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.312e-05/0.2528, allocations: 34.69 kB / 432.6 MB, free: 7.746 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005684/0.2534, allocations: 292.2 kB / 432.9 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.2534, allocations: 1.094 kB / 432.9 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.2534, allocations: 16.17 kB / 432.9 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.2535, allocations: 6.719 kB / 432.9 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005306/0.254, allocations: 240.3 kB / 433.2 MB, free: 7.531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.2554, allocations: 0.9196 MB / 434.1 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/0.2559, allocations: 264.3 kB / 434.3 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.2561, allocations: 118.9 kB / 434.5 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.2562, allocations: 3.016 kB / 434.5 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003867/0.2566, allocations: 187.7 kB / 434.6 MB, free: 6.723 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.675e-06/0.2566, allocations: 0 / 434.6 MB, free: 6.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002303/0.2589, allocations: 1.223 MB / 435.9 MB, free: 5.941 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.2589, allocations: 65.92 kB / 435.9 MB, free: 5.871 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.2592, allocations: 301.7 kB / 436.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.2593, allocations: 37.3 kB / 436.3 MB, free: 5.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.2594, allocations: 187.4 kB / 436.4 MB, free: 5.504 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.973e-05/0.2595, allocations: 118.9 kB / 436.6 MB, free: 5.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.2596, allocations: 75.78 kB / 436.6 MB, free: 5.363 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.225e-05/0.2596, allocations: 343.8 kB / 437 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.2599, allocations: 114.7 kB / 437.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.2602, allocations: 154.2 kB / 437.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005025/0.2607, allocations: 281.2 kB / 437.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2607, allocations: 0.6562 kB / 437.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006818/0.2614, allocations: 384.9 kB / 437.9 MB, free: 4.574 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.2615, allocations: 33.19 kB / 437.9 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.2615, allocations: 5.312 kB / 437.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.2615, allocations: 2.125 kB / 437.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.2618, allocations: 74.31 kB / 438 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.2618, allocations: 2.375 kB / 438 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.2621, allocations: 21.36 kB / 438 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.2621, allocations: 13.12 kB / 438 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003101/0.2625, allocations: 221.4 kB / 438.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002526/0.2627, allocations: 145.9 kB / 438.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004643/0.2632, allocations: 283.3 kB / 438.7 MB, free: 4.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.382e-06/0.2632, allocations: 0 / 438.7 MB, free: 4.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.000647/0.2638, allocations: 384.1 kB / 439 MB, free: 3.973 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.2639, allocations: 44.86 kB / 439.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/0.2639, allocations: 1.219 kB / 439.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.877e-06/0.2639, allocations: 2.688 kB / 439.1 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.2642, allocations: 67.98 kB / 439.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.2642, allocations: 2.219 kB / 439.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.2645, allocations: 26.55 kB / 439.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.2645, allocations: 15.89 kB / 439.2 MB, free: 3.914 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (controller.on,$PRE.controller.on,opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1,$whenCondition3,$whenCondition2) * 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.0001149/0.2647, allocations: 207 kB / 439.4 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.82e-05/0.2647, allocations: 36.41 kB / 439.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008008/0.2655, allocations: 333.3 kB / 439.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.2656, allocations: 3.875 kB / 439.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2656, allocations: 0.5 kB / 439.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.2656, allocations: 3.75 kB / 439.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.2668, allocations: 0.8788 MB / 440.7 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2669, allocations: 1.984 kB / 440.7 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003616/0.2672, allocations: 78.72 kB / 440.7 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.2672, allocations: 8 kB / 440.7 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.2673, allocations: 8.266 kB / 440.7 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2673, allocations: 3.344 kB / 440.8 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2673, allocations: 6.328 kB / 440.8 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008269/0.2681, allocations: 0.5799 MB / 441.3 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.2683, allocations: 142.7 kB / 441.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.2683, allocations: 13.3 kB / 441.5 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.2686, allocations: 25.23 kB / 441.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/0.2687, allocations: 37.7 kB / 441.6 MB, free: 2.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.2687, allocations: 12.02 kB / 441.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.2689, allocations: 219.7 kB / 441.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2689, allocations: 1.375 kB / 441.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005206/0.2694, allocations: 145.9 kB / 441.9 MB, free: 2.316 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 6 ($whenCondition2,$whenCondition3,$whenCondition1,opening.T_start,opening.count,controller.on) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001058/0.2705, allocations: 1.131 MB / 443.1 MB, free: 1.434 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008922/0.2714, allocations: 0.546 MB / 443.6 MB, free: 1.172 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2714, allocations: 0 / 443.6 MB, free: 1.172 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002958/0.2717, allocations: 157.2 kB / 443.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/0.2722, allocations: 61.59 kB / 443.8 MB, free: 1.098 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004631/0.2768, allocations: 3.574 MB / 447.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.2772, allocations: 0.8 MB / 448.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002226/0.2775, allocations: 44.86 kB / 448.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.2777, allocations: 119.4 kB / 448.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2777, allocations: 0 / 448.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.3027, allocations: 7.792 MB / 456.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.884/8.187, allocations: 5.859 kB / 456.1 MB, free: 10.81 MB / 334.1 MB (rm -f MEV_MEV.Test.TestCylinderUnitOnOff.pipe ; mkfifo MEV_MEV.Test.TestCylinderUnitOnOff.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinderUnitOnOff.pipe >> ../files/MEV_MEV.Test.TestCylinderUnitOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestCylinderUnitOnOff_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinderUnitOnOff.fmu > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1)