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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(MEV.Test.TestCylinderUnitOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitOnOff") translateModel(MEV.Test.TestCylinderUnitOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.006574/0.006574, allocations: 1.935 MB / 18.67 MB, free: 3.07 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.19/1.19, allocations: 205.1 MB / 225 MB, free: 4.816 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009095/0.0009095, allocations: 96.67 kB / 272.9 MB, free: 6.062 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 55.92 kB / 330.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1989, allocations: 47.12 MB / 377.9 MB, free: 44.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003622/0.2025, allocations: 3.997 MB / 381.9 MB, free: 41.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.2038, allocations: 0.9488 MB / 382.9 MB, free: 40.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.204, allocations: 5.656 kB / 382.9 MB, free: 40.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.2041, allocations: 48.05 kB / 382.9 MB, free: 40.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.2044, allocations: 117.5 kB / 383 MB, free: 40.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.2047, allocations: 105.3 kB / 383.1 MB, free: 40.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003795/0.2051, allocations: 0.4973 MB / 383.6 MB, free: 40.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.2053, allocations: 134.8 kB / 383.8 MB, free: 39.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.2054, allocations: 176 kB / 383.9 MB, free: 39.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.2056, allocations: 184.6 kB / 384.1 MB, free: 39.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.179e-05/0.2057, allocations: 24.62 kB / 384.2 MB, free: 39.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.272e-05/0.2058, allocations: 26.22 kB / 384.2 MB, free: 39.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.603e-05/0.2059, allocations: 78.8 kB / 384.3 MB, free: 39.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.206, allocations: 212.9 kB / 384.5 MB, free: 39.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.2064, allocations: 442.9 kB / 384.9 MB, free: 39.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2064, allocations: 1.344 kB / 384.9 MB, free: 39.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.2064, allocations: 0 / 384.9 MB, free: 39.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.2064, allocations: 0 / 384.9 MB, free: 39.23 MB / 298.7 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.001144/0.2076, allocations: 0.7455 MB / 385.6 MB, free: 38.58 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2076, allocations: 9.188 kB / 385.7 MB, free: 38.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.592e-05/0.2077, allocations: 46.59 kB / 385.7 MB, free: 38.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.208, allocations: 315.6 kB / 386 MB, free: 38.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.2081, allocations: 26.69 kB / 386 MB, free: 38.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.158e-05/0.2081, allocations: 39.03 kB / 386.1 MB, free: 38.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/0.2086, allocations: 293.8 kB / 386.4 MB, free: 38.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.2087, allocations: 5.203 kB / 386.4 MB, free: 38.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.2087, allocations: 14.44 kB / 386.4 MB, free: 38.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.2087, allocations: 12.03 kB / 386.4 MB, free: 38.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004384/0.2092, allocations: 234.5 kB / 386.6 MB, free: 37.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.2103, allocations: 0.9246 MB / 387.5 MB, free: 36.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/0.2108, allocations: 283.1 kB / 387.8 MB, free: 36.53 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.211, allocations: 113.3 kB / 387.9 MB, free: 36.42 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.211, allocations: 240 / 387.9 MB, free: 36.42 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003247/0.2114, allocations: 195.5 kB / 388.1 MB, free: 36.21 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.493e-06/0.2114, allocations: 0 / 388.1 MB, free: 36.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.002031/0.2134, allocations: 1.216 MB / 389.3 MB, free: 34.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.2134, allocations: 63.39 kB / 389.4 MB, free: 34.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.2137, allocations: 308.5 kB / 389.7 MB, free: 34.53 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.2137, allocations: 33.7 kB / 389.7 MB, free: 34.49 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.638e-05/0.2138, allocations: 188.6 kB / 389.9 MB, free: 34.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/0.2138, allocations: 118.3 kB / 390 MB, free: 34.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-05/0.2139, allocations: 74.08 kB / 390.1 MB, free: 34.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.686e-05/0.214, allocations: 342.8 kB / 390.4 MB, free: 33.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.2142, allocations: 110.4 kB / 390.5 MB, free: 33.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.2144, allocations: 161.5 kB / 390.7 MB, free: 33.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003999/0.2149, allocations: 281.9 kB / 391 MB, free: 33.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2149, allocations: 0 / 391 MB, free: 33.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005392/0.2154, allocations: 389.6 kB / 391.4 MB, free: 32.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.2154, allocations: 35.89 kB / 391.4 MB, free: 32.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.2155, allocations: 4.062 kB / 391.4 MB, free: 32.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2155, allocations: 0 / 391.4 MB, free: 32.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.2158, allocations: 79.83 kB / 391.5 MB, free: 32.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.2158, allocations: 7.938 kB / 391.5 MB, free: 32.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.216, allocations: 23.98 kB / 391.5 MB, free: 32.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.216, allocations: 8 kB / 391.5 MB, free: 32.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002588/0.2163, allocations: 220.5 kB / 391.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002126/0.2165, allocations: 149.1 kB / 391.9 MB, free: 32.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003639/0.2169, allocations: 272 kB / 392.1 MB, free: 31.99 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.193e-06/0.2169, allocations: 0 / 392.1 MB, free: 31.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0004971/0.2174, allocations: 390.3 kB / 392.5 MB, free: 31.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.2174, allocations: 33.64 kB / 392.6 MB, free: 31.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-06/0.2174, allocations: 7.938 kB / 392.6 MB, free: 31.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-06/0.2174, allocations: 0 / 392.6 MB, free: 31.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.2177, allocations: 75.89 kB / 392.6 MB, free: 31.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-06/0.2177, allocations: 0 / 392.6 MB, free: 31.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.2179, allocations: 19.98 kB / 392.7 MB, free: 31.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.2179, allocations: 19.98 kB / 392.7 MB, free: 31.43 MB / 298.7 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 7.364e-05/0.218, allocations: 205.9 kB / 392.9 MB, free: 31.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.2181, allocations: 35.56 kB / 392.9 MB, free: 31.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005255/0.2186, allocations: 340.6 kB / 393.2 MB, free: 30.85 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2186, allocations: 4 kB / 393.2 MB, free: 30.85 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2186, allocations: 0 / 393.2 MB, free: 30.85 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2186, allocations: 0 / 393.2 MB, free: 30.85 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009118/0.2195, allocations: 0.8772 MB / 394.1 MB, free: 29.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2195, allocations: 0 / 394.1 MB, free: 29.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.2199, allocations: 76.05 kB / 394.2 MB, free: 29.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2199, allocations: 8 kB / 394.2 MB, free: 29.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.2199, allocations: 15.92 kB / 394.2 MB, free: 29.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2199, allocations: 0 / 394.2 MB, free: 29.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2199, allocations: 7.938 kB / 394.2 MB, free: 29.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003554/0.2235, allocations: 2.811 MB / 397 MB, free: 26.83 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.804e-05/0.2236, allocations: 148.7 kB / 397.2 MB, free: 26.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.2236, allocations: 8 kB / 397.2 MB, free: 26.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.2239, allocations: 23.97 kB / 397.2 MB, free: 26.63 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/0.2239, allocations: 31.98 kB / 397.2 MB, free: 26.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.224, allocations: 16 kB / 397.3 MB, free: 26.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.2241, allocations: 215.1 kB / 397.5 MB, free: 26.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2241, allocations: 3.938 kB / 397.5 MB, free: 26.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006299/0.2247, allocations: 228 kB / 397.7 MB, free: 26.15 MB / 298.7 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.0001027/0.2249, allocations: 119.1 kB / 397.8 MB, free: 26.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007439/0.2256, allocations: 0.5525 MB / 398.4 MB, free: 25.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2256, allocations: 0 / 398.4 MB, free: 25.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.2259, allocations: 160.2 kB / 398.5 MB, free: 25.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.2263, allocations: 64.8 kB / 398.6 MB, free: 25.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.2277, allocations: 1.344 MB / 399.9 MB, free: 23.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.2279, allocations: 0.8001 MB / 400.7 MB, free: 23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002007/0.2281, allocations: 50.92 kB / 400.8 MB, free: 22.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.488e-05/0.2282, allocations: 27.44 kB / 400.8 MB, free: 22.92 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.2282, allocations: 0 / 400.8 MB, free: 22.92 MB / 298.7 MB Notification: Performance of Templates: time 0.00652/0.2347, allocations: 4.75 MB / 405.6 MB, free: 18.19 MB / 298.7 MB make -j1 -f MEV_MEV.Test.TestCylinderUnitOnOff.makefile (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 & ./MEV_MEV.Test.TestCylinderUnitOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1)