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.001962/0.001962, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002099/0.0021, allocations: 198.8 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.491/2.491, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01844/0.01844, allocations: 1.928 MB / 271.7 MB, free: 3.348 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.00216/0.00216, allocations: 64.12 kB / 329.9 MB, free: 32.7 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1859, allocations: 47.14 MB / 377.1 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.008569/0.1947, allocations: 3.401 MB / 380.5 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003286/0.198, allocations: 0.8738 MB / 381.3 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003305/0.1984, allocations: 4 kB / 381.4 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.1988, allocations: 63.36 kB / 381.4 MB, free: 13.15 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004149/0.1992, allocations: 142.7 kB / 381.6 MB, free: 13.01 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009249/0.2001, allocations: 115.8 kB / 381.7 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007886/0.201, allocations: 0.5173 MB / 382.2 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004568/0.2015, allocations: 156.8 kB / 382.3 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003369/0.2018, allocations: 183.2 kB / 382.5 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005162/0.2024, allocations: 207 kB / 382.7 MB, free: 11.83 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000264/0.2027, allocations: 40 kB / 382.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.2029, allocations: 55.98 kB / 382.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.203, allocations: 87.73 kB / 382.9 MB, free: 11.65 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.2033, allocations: 226.9 kB / 383.1 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006681/0.204, allocations: 454.5 kB / 383.6 MB, free: 10.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.232e-05/0.204, allocations: 0 / 383.6 MB, free: 10.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.592e-06/0.204, allocations: 0 / 383.6 MB, free: 10.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.2041, allocations: 3.938 kB / 383.6 MB, free: 10.98 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002737/0.2068, allocations: 0.7478 MB / 384.3 MB, free: 10.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.794e-05/0.2069, allocations: 11.89 kB / 384.3 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001299/0.207, allocations: 70.72 kB / 384.4 MB, free: 10.09 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.2072, allocations: 48.36 kB / 384.4 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005438/0.2077, allocations: 311.5 kB / 384.7 MB, free: 9.695 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/0.2078, allocations: 24.78 kB / 384.8 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.335e-05/0.2079, allocations: 39.91 kB / 384.8 MB, free: 9.633 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009312/0.2088, allocations: 294 kB / 385.1 MB, free: 9.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.2089, allocations: 0 / 385.1 MB, free: 9.34 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.182e-05/0.2089, allocations: 16 kB / 385.1 MB, free: 9.324 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.2089, allocations: 8 kB / 385.1 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006131/0.2095, allocations: 238.5 kB / 385.4 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.2117, allocations: 0.9323 MB / 386.3 MB, free: 8.098 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006726/0.2124, allocations: 267.3 kB / 386.5 MB, free: 7.828 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/0.2127, allocations: 117.3 kB / 386.7 MB, free: 7.711 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.2128, allocations: 240 / 386.7 MB, free: 7.711 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006559/0.2134, allocations: 195.4 kB / 386.9 MB, free: 7.508 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.894e-06/0.2134, allocations: 0 / 386.9 MB, free: 7.508 MB / 286.1 MB Notification: Performance of matching and sorting (n=36): time 0.003143/0.2166, allocations: 1.216 MB / 388.1 MB, free: 6.203 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.203e-05/0.2167, allocations: 59.34 kB / 388.1 MB, free: 6.133 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004548/0.2172, allocations: 304.6 kB / 388.4 MB, free: 5.828 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.2172, allocations: 33.7 kB / 388.5 MB, free: 5.789 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.2175, allocations: 200.5 kB / 388.7 MB, free: 5.59 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.2176, allocations: 114.3 kB / 388.8 MB, free: 5.477 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.2178, allocations: 77.97 kB / 388.8 MB, free: 5.395 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0003147/0.2181, allocations: 342.8 kB / 389.2 MB, free: 5.051 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/0.2184, allocations: 110.4 kB / 389.3 MB, free: 4.941 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/0.2188, allocations: 157.6 kB / 389.4 MB, free: 4.777 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006266/0.2194, allocations: 277.9 kB / 389.7 MB, free: 4.488 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2194, allocations: 0 / 389.7 MB, free: 4.488 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008349/0.2203, allocations: 393.7 kB / 390.1 MB, free: 4.094 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.181e-05/0.2203, allocations: 34.33 kB / 390.1 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.2204, allocations: 0 / 390.1 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.094e-05/0.2204, allocations: 4 kB / 390.1 MB, free: 4.051 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.2208, allocations: 67.91 kB / 390.2 MB, free: 3.984 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/0.2208, allocations: 11.98 kB / 390.2 MB, free: 3.973 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.2211, allocations: 19.98 kB / 390.2 MB, free: 3.953 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.2211, allocations: 12 kB / 390.2 MB, free: 3.941 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004253/0.2216, allocations: 224.5 kB / 390.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002953/0.2219, allocations: 145.1 kB / 390.6 MB, free: 3.57 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005713/0.2225, allocations: 280 kB / 390.9 MB, free: 3.281 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.372e-06/0.2225, allocations: 0 / 390.9 MB, free: 3.281 MB / 286.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007447/0.2232, allocations: 382.7 kB / 391.2 MB, free: 2.895 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.2233, allocations: 33.7 kB / 391.3 MB, free: 2.855 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-06/0.2233, allocations: 0 / 391.3 MB, free: 2.855 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-06/0.2233, allocations: 0 / 391.3 MB, free: 2.855 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.2237, allocations: 75.89 kB / 391.4 MB, free: 2.781 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.008e-05/0.2238, allocations: 4 kB / 391.4 MB, free: 2.777 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004362/0.2243, allocations: 20.05 kB / 391.4 MB, free: 2.758 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.2243, allocations: 16 kB / 391.4 MB, free: 2.742 MB / 286.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.0002275/0.2245, allocations: 207.2 kB / 391.6 MB, free: 2.535 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.716e-05/0.2246, allocations: 43.47 kB / 391.6 MB, free: 2.492 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007789/0.2254, allocations: 332.7 kB / 392 MB, free: 2.16 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2254, allocations: 4 kB / 392 MB, free: 2.156 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.2254, allocations: 3.984 kB / 392 MB, free: 2.152 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.2254, allocations: 4 kB / 392 MB, free: 2.148 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.2272, allocations: 0.8731 MB / 392.8 MB, free: 1.203 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.2273, allocations: 8.156 kB / 392.9 MB, free: 1.195 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003904/0.2276, allocations: 71.89 kB / 392.9 MB, free: 1.125 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/0.2277, allocations: 4 kB / 392.9 MB, free: 1.121 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.2277, allocations: 8 kB / 392.9 MB, free: 1.113 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.2277, allocations: 7.922 kB / 392.9 MB, free: 1.105 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.2277, allocations: 7.938 kB / 393 MB, free: 1.098 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.2291, allocations: 0.5812 MB / 393.5 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/0.2295, allocations: 140.7 kB / 393.7 MB, free: 336 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.45e-05/0.2295, allocations: 11.98 kB / 393.7 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.2298, allocations: 27.98 kB / 393.7 MB, free: 296 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.23, allocations: 31.89 kB / 393.7 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.23, allocations: 16 kB / 393.8 MB, free: 248 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002808/0.2303, allocations: 219 kB / 394 MB, free: 28 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2303, allocations: 0 / 394 MB, free: 28 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007142/0.231, allocations: 148.1 kB / 394.1 MB, free: 15.88 MB / 302.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.002179/0.2333, allocations: 1.134 MB / 395.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.2347, allocations: 0.5573 MB / 395.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.2347, allocations: 0 / 395.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00072/0.2354, allocations: 160.3 kB / 396 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006208/0.236, allocations: 68.08 kB / 396 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007151/0.2432, allocations: 3.617 MB / 399.6 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007504/0.244, allocations: 0.8 MB / 400.4 MB, free: 9.328 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003485/0.2444, allocations: 42.94 kB / 400.5 MB, free: 9.289 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.2446, allocations: 123.4 kB / 400.6 MB, free: 9.168 MB / 302.1 MB Notification: Performance of SimCode: time 1.503e-06/0.2446, allocations: 0 / 400.6 MB, free: 9.168 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05543/0.3001, allocations: 7.501 MB / 408.1 MB, free: 1.598 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.41/19.71, allocations: 3.984 kB / 408.1 MB, free: 1.594 MB / 302.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)