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/Complex 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) 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-master/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: "" <> 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/Complex 3.2.3+maint.om/package.mo): time 0.001394/0.001394, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.01236/0.01236, allocations: 1.917 MB / 15.18 MB, free: 128 kB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.2 MB / 221.4 MB, free: 7.34 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.0009406/0.0009405, allocations: 95.36 kB / 270.1 MB, free: 7.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.912e-05/2.914e-05, allocations: 0 / 326.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.267, allocations: 48.06 MB / 374.2 MB, free: 44.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08676/0.3538, allocations: 77.03 MB / 451.2 MB, free: 1.832 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.3541, allocations: 63.97 kB / 451.3 MB, free: 1.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008462/0.3625, allocations: 3.27 MB / 454.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3626, allocations: 0 / 454.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.3626, allocations: 4 kB / 454.5 MB, free: 14.5 MB / 346.7 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.0005323/0.3631, allocations: 455.1 kB / 455 MB, free: 14.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.3632, allocations: 8.031 kB / 455 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.226e-05/0.3633, allocations: 54.55 kB / 455 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.3633, allocations: 17.12 kB / 455.1 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.3636, allocations: 219.9 kB / 455.3 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.3636, allocations: 24.28 kB / 455.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.3636, allocations: 15.98 kB / 455.3 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.3639, allocations: 132.3 kB / 455.4 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3639, allocations: 4 kB / 455.4 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.3639, allocations: 5.203 kB / 455.5 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.364, allocations: 4 kB / 455.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.3641, allocations: 100.5 kB / 455.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009102/0.3651, allocations: 0.5507 MB / 456.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.3652, allocations: 103.9 kB / 456.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.106e-05/0.3653, allocations: 36.86 kB / 456.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.3653, allocations: 7.938 kB / 456.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.3654, allocations: 37.28 kB / 456.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.3654, allocations: 0 / 456.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0014/0.3668, allocations: 0.5405 MB / 456.8 MB, free: 12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.3668, allocations: 59.39 kB / 456.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.367, allocations: 165.8 kB / 457 MB, free: 11.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.367, allocations: 29.7 kB / 457.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/0.3671, allocations: 124.4 kB / 457.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.3671, allocations: 63.16 kB / 457.3 MB, free: 11.53 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-06/0.3671, allocations: 4 kB / 457.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3672, allocations: 326.8 kB / 457.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.117e-05/0.3673, allocations: 40 kB / 457.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.109e-05/0.3674, allocations: 55.09 kB / 457.7 MB, free: 11.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.204e-05/0.3675, allocations: 47.25 kB / 457.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3675, allocations: 4 kB / 457.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002175/0.3677, allocations: 157.4 kB / 457.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3678, allocations: 4 kB / 457.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3678, allocations: 0 / 457.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3678, allocations: 7.891 kB / 457.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.368, allocations: 55.91 kB / 457.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.368, allocations: 0 / 457.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.634e-05/0.3681, allocations: 8 kB / 458 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.3681, allocations: 8 kB / 458 MB, free: 10.81 MB / 346.7 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 () * 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 6.892e-05/0.3682, allocations: 113 kB / 458.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.3683, allocations: 15.81 kB / 458.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.363e-05/0.3683, allocations: 29.58 kB / 458.1 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3683, allocations: 7.953 kB / 458.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3683, allocations: 0 / 458.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3684, allocations: 0 / 458.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006424/0.369, allocations: 0.5645 MB / 458.7 MB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.369, allocations: 4 kB / 458.7 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.3692, allocations: 39.92 kB / 458.7 MB, free: 9.953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.3692, allocations: 4.25 kB / 458.7 MB, free: 9.949 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.3692, allocations: 12 kB / 458.7 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3693, allocations: 0 / 458.7 MB, free: 9.938 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.3693, allocations: 10.19 kB / 458.8 MB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004066/0.3697, allocations: 436.4 kB / 459.2 MB, free: 9.414 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.679e-05/0.3698, allocations: 104.9 kB / 459.3 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.3698, allocations: 11.94 kB / 459.3 MB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.37, allocations: 15.98 kB / 459.3 MB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.3701, allocations: 24 kB / 459.3 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.3701, allocations: 4 kB / 459.3 MB, free: 9.238 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.885e-05/0.3702, allocations: 142.8 kB / 459.5 MB, free: 9.102 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3702, allocations: 0 / 459.5 MB, free: 9.102 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002614/0.3704, allocations: 40 kB / 459.5 MB, free: 9.062 MB / 346.7 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 () * 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.0007619/0.3712, allocations: 1.519 MB / 461 MB, free: 7.461 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.3714, allocations: 103.9 kB / 461.1 MB, free: 7.359 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3715, allocations: 0 / 461.1 MB, free: 7.359 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.563e-05/0.3716, allocations: 67.98 kB / 461.2 MB, free: 7.293 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.3718, allocations: 24.91 kB / 461.2 MB, free: 7.273 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007667/0.3726, allocations: 399.2 kB / 461.6 MB, free: 6.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.3729, allocations: 0.74 MB / 462.4 MB, free: 6.059 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.822e-05/0.373, allocations: 17.19 kB / 462.4 MB, free: 6.039 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.725e-05/0.373, allocations: 47.42 kB / 462.4 MB, free: 5.992 MB / 346.7 MB Notification: Performance of SimCode: time 7.32e-07/0.3731, allocations: 0 / 462.4 MB, free: 5.992 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01256/0.3856, allocations: 3.051 MB / 465.5 MB, free: 3.008 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001315/0.3858, allocations: 111.7 kB / 465.6 MB, free: 2.895 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/1.931, allocations: 0 / 465.6 MB, free: 2.895 MB / 346.7 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)