Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example5.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.744/0.744, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 221.3 MB / 400.4 MB, free: 5.797 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009406/0.0009403, allocations: 95.83 kB / 483.3 MB, free: 5.812 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.815e-05/3.839e-05, allocations: 7.875 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1471, allocations: 82.31 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5649/0.712, allocations: 110.4 MB / 0.7483 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/0.7123, allocations: 72.14 kB / 0.7484 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.001545/0.7139, allocations: 482.5 kB / 0.7489 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7139, allocations: 0 / 0.7489 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.7139, allocations: 0 / 0.7489 GB, free: 27.71 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002768/0.7142, allocations: 325.8 kB / 0.7492 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.7142, allocations: 11.69 kB / 0.7492 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.7143, allocations: 39.3 kB / 0.7492 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.518e-05/0.7143, allocations: 3.906 kB / 0.7492 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.7146, allocations: 176.9 kB / 0.7494 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.7146, allocations: 0 / 0.7494 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.7146, allocations: 0 / 0.7494 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.398e-05/0.7147, allocations: 33.42 kB / 0.7494 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.7147, allocations: 0 / 0.7494 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.7147, allocations: 2.766 kB / 0.7494 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.7147, allocations: 4 kB / 0.7494 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.794e-05/0.7147, allocations: 5.906 kB / 0.7494 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001413/0.7149, allocations: 157.7 kB / 0.7496 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.611e-05/0.7149, allocations: 28.44 kB / 0.7496 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.715, allocations: 8.703 kB / 0.7496 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.715, allocations: 0 / 0.7496 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.715, allocations: 34.5 kB / 0.7496 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.715, allocations: 4 kB / 0.7496 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001225/0.7151, allocations: 38.17 kB / 0.7497 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.7152, allocations: 55.34 kB / 0.7497 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.339e-05/0.7153, allocations: 103.5 kB / 0.7498 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.7153, allocations: 25.7 kB / 0.7499 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.7153, allocations: 83.95 kB / 0.7499 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.7154, allocations: 3.906 kB / 0.7499 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.7154, allocations: 0 / 0.7499 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.7155, allocations: 321.7 kB / 0.7503 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.7155, allocations: 3.938 kB / 0.7503 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.797e-05/0.7155, allocations: 13.56 kB / 0.7503 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.144e-05/0.7156, allocations: 14.52 kB / 0.7503 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.7156, allocations: 3.953 kB / 0.7503 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.092e-05/0.7157, allocations: 44.58 kB / 0.7503 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.7157, allocations: 8.906 kB / 0.7503 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.7157, allocations: 3.188 kB / 0.7503 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.7157, allocations: 3.844 kB / 0.7503 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.454e-05/0.7158, allocations: 2.859 kB / 0.7503 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.7158, allocations: 3.844 kB / 0.7504 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.222e-05/0.7158, allocations: 3.75 kB / 0.7504 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.7158, allocations: 3.984 kB / 0.7504 GB, free: 26.12 MB / 0.5105 GB 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 (2): * Single equations (assignments): 2 * 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.207e-05/0.7159, allocations: 108.8 kB / 0.7505 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-06/0.7159, allocations: 3.953 kB / 0.7505 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.716, allocations: 57.86 kB / 0.7505 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.7161, allocations: 0 / 0.7505 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.7161, allocations: 0 / 0.7505 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.7161, allocations: 0 / 0.7505 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.923e-05/0.7162, allocations: 162.3 kB / 0.7507 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7162, allocations: 0 / 0.7507 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.176e-05/0.7162, allocations: 7.891 kB / 0.7507 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.7162, allocations: 0 / 0.7507 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.7163, allocations: 2.906 kB / 0.7507 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.7163, allocations: 3.875 kB / 0.7507 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7163, allocations: 4.031 kB / 0.7507 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.7164, allocations: 68.84 kB / 0.7508 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.7164, allocations: 81.05 kB / 0.7508 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.7165, allocations: 10.66 kB / 0.7508 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.023e-05/0.7165, allocations: 0 / 0.7508 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.7165, allocations: 0 / 0.7508 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.7165, allocations: 3.906 kB / 0.7509 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.602e-05/0.7166, allocations: 91.53 kB / 0.7509 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7166, allocations: 3.938 kB / 0.7509 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001874/0.7168, allocations: 7.688 kB / 0.7509 GB, free: 25.52 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0003767/0.7172, allocations: 0.6106 MB / 0.7515 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.882e-05/0.7172, allocations: 15.72 kB / 0.7516 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7172, allocations: 0 / 0.7516 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-05/0.7173, allocations: 10.89 kB / 0.7516 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001014/0.7174, allocations: 13.52 kB / 0.7516 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.7177, allocations: 105.1 kB / 0.7517 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.7179, allocations: 0.6854 MB / 0.7524 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.578e-05/0.7179, allocations: 3.875 kB / 0.7524 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.718, allocations: 10.2 kB / 0.7524 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of SimCode: time 3.6e-07/0.718, allocations: 4 kB / 0.7524 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0111/0.7291, allocations: 0.9571 MB / 0.7533 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001396/0.7293, allocations: 129.3 kB / 0.7534 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/2.222, allocations: 4 kB / 0.7534 GB, free: 23.73 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)