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-master/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/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.TestCylinder,fileNamePrefix="MEV_MEV_Test_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinder,fileNamePrefix="MEV_MEV_Test_TestCylinder",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.0007403/0.0007403, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.000794/0.0007941, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.158/1.158, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.007932/0.007932, allocations: 1.928 MB / 272.3 MB, free: 3.387 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.0004465/0.0004466, allocations: 16 kB / 331 MB, free: 33.24 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06149/0.06194, allocations: 48.1 MB / 379.1 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.002342/0.06432, allocations: 2.358 MB / 381.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009176/0.06526, allocations: 0.6012 MB / 382 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.06541, allocations: 4 kB / 382.1 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.06554, allocations: 31.75 kB / 382.1 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.06575, allocations: 91.19 kB / 382.2 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001255/0.06588, allocations: 35.95 kB / 382.2 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.0661, allocations: 222.9 kB / 382.4 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.06622, allocations: 36.69 kB / 382.5 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.54e-05/0.06632, allocations: 75.66 kB / 382.5 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.06645, allocations: 87.62 kB / 382.6 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.06649, allocations: 8 kB / 382.6 MB, free: 13.53 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.531e-05/0.06652, allocations: 8 kB / 382.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.649e-05/0.06655, allocations: 23.86 kB / 382.7 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.116e-05/0.06663, allocations: 65.58 kB / 382.7 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.06676, allocations: 135.9 kB / 382.9 MB, free: 13.3 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.06677, allocations: 0 / 382.9 MB, free: 13.3 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.06677, allocations: 0 / 382.9 MB, free: 13.3 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.06678, allocations: 0 / 382.9 MB, free: 13.3 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.0005801/0.06737, allocations: 482.8 kB / 383.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.391e-05/0.06744, allocations: 8.031 kB / 383.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.867e-05/0.06749, allocations: 50.55 kB / 383.4 MB, free: 12.71 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.06754, allocations: 27.66 kB / 383.4 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.06773, allocations: 214.7 kB / 383.6 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.06776, allocations: 12.33 kB / 383.6 MB, free: 12.42 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.06779, allocations: 24 kB / 383.7 MB, free: 12.39 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.06808, allocations: 148.2 kB / 383.8 MB, free: 12.25 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.0681, allocations: 0 / 383.8 MB, free: 12.25 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.06813, allocations: 12 kB / 383.8 MB, free: 12.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.06814, allocations: 4 kB / 383.8 MB, free: 12.23 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.06838, allocations: 132.4 kB / 383.9 MB, free: 12.1 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008118/0.0692, allocations: 0.5467 MB / 384.5 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.06939, allocations: 102.5 kB / 384.6 MB, free: 11.39 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.06951, allocations: 56.83 kB / 384.6 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.06953, allocations: 4 kB / 384.7 MB, free: 11.33 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.06955, allocations: 38.56 kB / 384.7 MB, free: 11.29 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.06956, allocations: 0 / 384.7 MB, free: 11.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001461/0.07103, allocations: 0.6371 MB / 385.3 MB, free: 10.6 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.07107, allocations: 55.41 kB / 385.4 MB, free: 10.53 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.07123, allocations: 206.7 kB / 385.6 MB, free: 10.32 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.07125, allocations: 29.7 kB / 385.6 MB, free: 10.29 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.809e-05/0.07132, allocations: 128.3 kB / 385.7 MB, free: 10.16 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.07137, allocations: 55.2 kB / 385.8 MB, free: 10.1 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.07138, allocations: 4 kB / 385.8 MB, free: 10.1 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.07148, allocations: 326.8 kB / 386.1 MB, free: 9.77 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.0716, allocations: 51.97 kB / 386.2 MB, free: 9.719 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.07172, allocations: 69.69 kB / 386.2 MB, free: 9.645 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.07185, allocations: 72.23 kB / 386.3 MB, free: 9.574 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.07186, allocations: 0 / 386.3 MB, free: 9.574 MB / 286.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002982/0.07216, allocations: 181.4 kB / 386.5 MB, free: 9.391 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.07219, allocations: 7.984 kB / 386.5 MB, free: 9.383 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.0722, allocations: 0 / 386.5 MB, free: 9.383 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.07221, allocations: 0 / 386.5 MB, free: 9.383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.07239, allocations: 44.02 kB / 386.5 MB, free: 9.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.07241, allocations: 0 / 386.5 MB, free: 9.34 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.066e-05/0.0725, allocations: 15.98 kB / 386.5 MB, free: 9.324 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.07252, allocations: 7.938 kB / 386.6 MB, free: 9.316 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.07263, allocations: 129.8 kB / 386.7 MB, free: 9.18 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.07267, allocations: 23.67 kB / 386.7 MB, free: 9.156 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.229e-05/0.07273, allocations: 25.86 kB / 386.7 MB, free: 9.129 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.07274, allocations: 8 kB / 386.7 MB, free: 9.121 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.07275, allocations: 0 / 386.7 MB, free: 9.121 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.07276, allocations: 0 / 386.7 MB, free: 9.121 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007591/0.07352, allocations: 0.5946 MB / 387.3 MB, free: 8.445 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.07354, allocations: 4 kB / 387.3 MB, free: 8.441 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.07371, allocations: 43.92 kB / 387.4 MB, free: 8.398 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.07373, allocations: 4 kB / 387.4 MB, free: 8.395 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.07375, allocations: 16.23 kB / 387.4 MB, free: 8.379 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.07376, allocations: 0 / 387.4 MB, free: 8.379 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.07376, allocations: 4 kB / 387.4 MB, free: 8.375 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004624/0.07423, allocations: 374 kB / 387.8 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.333e-05/0.07434, allocations: 117 kB / 387.9 MB, free: 7.836 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.07437, allocations: 8 kB / 387.9 MB, free: 7.828 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.07452, allocations: 16.08 kB / 387.9 MB, free: 7.812 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.07458, allocations: 27.81 kB / 387.9 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.0746, allocations: 4 kB / 387.9 MB, free: 7.781 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.07471, allocations: 148.4 kB / 388.1 MB, free: 7.637 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.07472, allocations: 4 kB / 388.1 MB, free: 7.633 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.07499, allocations: 40 kB / 388.1 MB, free: 7.594 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006649/0.07566, allocations: 0.9122 MB / 389 MB, free: 6.633 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.07593, allocations: 131.8 kB / 389.2 MB, free: 6.504 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.07594, allocations: 0 / 389.2 MB, free: 6.504 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.07608, allocations: 75.97 kB / 389.2 MB, free: 6.43 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.07642, allocations: 35.94 kB / 389.3 MB, free: 6.395 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.07791, allocations: 1.225 MB / 390.5 MB, free: 5.094 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.07816, allocations: 0.7322 MB / 391.2 MB, free: 4.336 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.815e-05/0.07824, allocations: 13.42 kB / 391.2 MB, free: 4.324 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.541e-05/0.07832, allocations: 55.41 kB / 391.3 MB, free: 4.27 MB / 286.1 MB Notification: Performance of SimCode: time 3.7e-07/0.07833, allocations: 0 / 391.3 MB, free: 4.27 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01172/0.09006, allocations: 3.074 MB / 394.4 MB, free: 1.199 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/0.09026, allocations: 148.4 kB / 394.5 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.479/1.569, allocations: 8 kB / 394.5 MB, free: 0.9414 MB / 286.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestCylinder_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinder.fmu > MEV_MEV.Test.TestCylinder.pipe 2>&1) Environment - environmentSimulation: