Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestCylinder.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: translateModel(MEV.Test.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=166,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinder") translateModel(MEV.Test.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=166,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 100.1 kB / 15.88 MB, free: 12 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.0016/0.0016, allocations: 195.5 kB / 16.79 MB, free: 6.809 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.832 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008686/0.008686, allocations: 1.924 MB / 271.9 MB, free: 3.602 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.001429/0.001429, allocations: 67.84 kB / 329.8 MB, free: 33.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07037/0.07181, allocations: 47.14 MB / 376.9 MB, free: 2.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.003645/0.07548, allocations: 2.809 MB / 379.7 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009634/0.07647, allocations: 0.6321 MB / 380.4 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.07661, allocations: 4 kB / 380.4 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.07676, allocations: 19.83 kB / 380.4 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.07691, allocations: 59.48 kB / 380.5 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.07706, allocations: 39.97 kB / 380.5 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.0773, allocations: 234.8 kB / 380.7 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.07743, allocations: 44.5 kB / 380.8 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.136e-05/0.07753, allocations: 79.61 kB / 380.8 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.07768, allocations: 87.61 kB / 380.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.07772, allocations: 12 kB / 380.9 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.79e-05/0.07777, allocations: 12 kB / 381 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.0778, allocations: 27.86 kB / 381 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.347e-05/0.0779, allocations: 95.47 kB / 381.1 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.07806, allocations: 136 kB / 381.2 MB, free: 13.79 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.07808, allocations: 0 / 381.2 MB, free: 13.79 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.07808, allocations: 0 / 381.2 MB, free: 13.79 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.07809, allocations: 0 / 381.2 MB, free: 13.79 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007215/0.07882, allocations: 0.495 MB / 381.7 MB, free: 13.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.07886, allocations: 11.97 kB / 381.7 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.07892, allocations: 24.66 kB / 381.7 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.07914, allocations: 223.9 kB / 382 MB, free: 12.96 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.07917, allocations: 20.64 kB / 382 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.07921, allocations: 16.12 kB / 382 MB, free: 12.92 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.07952, allocations: 148.2 kB / 382.1 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.07954, allocations: 3.984 kB / 382.1 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.07957, allocations: 16 kB / 382.2 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.07959, allocations: 7.938 kB / 382.2 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/0.07986, allocations: 116.1 kB / 382.3 MB, free: 12.63 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009116/0.08078, allocations: 0.5468 MB / 382.8 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.081, allocations: 94.55 kB / 382.9 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.08113, allocations: 52.83 kB / 383 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.08115, allocations: 3.938 kB / 383 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.08118, allocations: 42.56 kB / 383 MB, free: 11.82 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.08119, allocations: 0 / 383 MB, free: 11.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001724/0.08292, allocations: 0.6098 MB / 383.6 MB, free: 11.16 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.08296, allocations: 55.41 kB / 383.7 MB, free: 11.1 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.08314, allocations: 198.8 kB / 383.9 MB, free: 10.89 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.08317, allocations: 33.7 kB / 383.9 MB, free: 10.86 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.08326, allocations: 128.3 kB / 384 MB, free: 10.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.0833, allocations: 55.11 kB / 384.1 MB, free: 10.67 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.164e-05/0.08337, allocations: 41.7 kB / 384.1 MB, free: 10.62 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.08349, allocations: 326.8 kB / 384.4 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.08361, allocations: 47.97 kB / 384.5 MB, free: 10.25 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.08374, allocations: 69.69 kB / 384.6 MB, free: 10.18 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.08398, allocations: 129.9 kB / 384.7 MB, free: 10.04 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.08399, allocations: 0 / 384.7 MB, free: 10.04 MB / 286.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003049/0.0843, allocations: 173.4 kB / 384.9 MB, free: 9.867 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.08433, allocations: 4 kB / 384.9 MB, free: 9.863 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.08434, allocations: 0 / 384.9 MB, free: 9.863 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.08436, allocations: 7.938 kB / 384.9 MB, free: 9.855 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.08456, allocations: 39.97 kB / 384.9 MB, free: 9.816 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.08458, allocations: 0 / 384.9 MB, free: 9.816 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.08469, allocations: 12.03 kB / 384.9 MB, free: 9.805 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.08471, allocations: 4 kB / 384.9 MB, free: 9.801 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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 0.0001075/0.08483, allocations: 133.8 kB / 385.1 MB, free: 9.66 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.08488, allocations: 27.7 kB / 385.1 MB, free: 9.633 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.136e-05/0.08493, allocations: 21.88 kB / 385.1 MB, free: 9.609 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.08495, allocations: 7.938 kB / 385.1 MB, free: 9.602 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.08495, allocations: 0 / 385.1 MB, free: 9.602 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.08497, allocations: 3.984 kB / 385.1 MB, free: 9.598 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007728/0.08574, allocations: 0.5945 MB / 385.7 MB, free: 8.922 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.08576, allocations: 256 / 385.7 MB, free: 8.922 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.08596, allocations: 39.98 kB / 385.7 MB, free: 8.883 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.08597, allocations: 4 kB / 385.8 MB, free: 8.879 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.08599, allocations: 8 kB / 385.8 MB, free: 8.871 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.086, allocations: 7.938 kB / 385.8 MB, free: 8.863 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.08601, allocations: 4 kB / 385.8 MB, free: 8.859 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004993/0.08651, allocations: 378 kB / 386.1 MB, free: 8.449 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.641e-05/0.08661, allocations: 113 kB / 386.3 MB, free: 8.32 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.08665, allocations: 4 kB / 386.3 MB, free: 8.316 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.08682, allocations: 15.98 kB / 386.3 MB, free: 8.301 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.08688, allocations: 15.92 kB / 386.3 MB, free: 8.285 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.0869, allocations: 12 kB / 386.3 MB, free: 8.273 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.08702, allocations: 144.5 kB / 386.4 MB, free: 8.133 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08702, allocations: 0 / 386.4 MB, free: 8.133 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.08731, allocations: 40 kB / 386.5 MB, free: 8.094 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 (cylinder.y) * 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 (17): * Single equations (assignments): 17 * 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 9.352e-05/0.08742, allocations: 103.2 kB / 386.6 MB, free: 7.984 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002906/0.08772, allocations: 135.7 kB / 386.7 MB, free: 7.852 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.08773, allocations: 0 / 386.7 MB, free: 7.852 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.08788, allocations: 68.42 kB / 386.8 MB, free: 7.785 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.08831, allocations: 31.98 kB / 386.8 MB, free: 7.754 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000847/0.08916, allocations: 0.5992 MB / 387.4 MB, free: 7.098 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.08946, allocations: 0.7321 MB / 388.1 MB, free: 6.34 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.544e-05/0.08952, allocations: 19.44 kB / 388.2 MB, free: 6.32 MB / 286.1 MB Notification: Performance of SimCode: time 4.61e-07/0.08953, allocations: 4 kB / 388.2 MB, free: 6.316 MB / 286.1 MB Notification: Performance of Templates: time 0.003457/0.09299, allocations: 1.966 MB / 390.1 MB, free: 4.352 MB / 286.1 MB make -j1 -f MEV_MEV.Test.TestCylinder.makefile (rm -f MEV_MEV.Test.TestCylinder.pipe ; mkfifo MEV_MEV.Test.TestCylinder.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinder.pipe >> ../files/MEV_MEV.Test.TestCylinder.sim & ./MEV_MEV.Test.TestCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestCylinder.pipe 2>&1)