Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_dev_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.00221/0.00221, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.338/1.338, allocations: 133.6 MB / 141.6 MB, free: 2.863 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.871/2.871, allocations: 221.5 MB / 395.5 MB, free: 10.76 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 101.1 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 5.614e-05/5.631e-05, allocations: 4 kB / 0.5535 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8704/0.8705, allocations: 82.31 MB / 0.6339 GB, free: 40.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.226/1.097, allocations: 109.8 MB / 0.7411 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/1.097, allocations: 71.94 kB / 0.7412 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001472/1.099, allocations: 491 kB / 0.7416 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.974e-06/1.099, allocations: 0 / 0.7416 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.251e-05/1.099, allocations: 4 kB / 0.7416 GB, free: 12.36 MB / 0.5261 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.0003782/1.099, allocations: 314.6 kB / 0.7419 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.063e-05/1.099, allocations: 8.031 kB / 0.742 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/1.099, allocations: 7.906 kB / 0.742 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/1.099, allocations: 179 kB / 0.7421 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/1.099, allocations: 0 / 0.7421 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/1.099, allocations: 0 / 0.7421 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.945e-05/1.1, allocations: 8 kB / 0.7421 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.338e-05/1.1, allocations: 33.62 kB / 0.7422 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/1.1, allocations: 0 / 0.7422 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/1.1, allocations: 4 kB / 0.7422 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/1.1, allocations: 0 / 0.7422 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/1.1, allocations: 130.3 kB / 0.7423 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.845e-05/1.1, allocations: 25.98 kB / 0.7423 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/1.1, allocations: 12.92 kB / 0.7423 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/1.1, allocations: 3.984 kB / 0.7423 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/1.1, allocations: 34.55 kB / 0.7424 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/1.1, allocations: 0 / 0.7424 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001925/1.1, allocations: 37.64 kB / 0.7424 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/1.1, allocations: 55.39 kB / 0.7425 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/1.101, allocations: 97 kB / 0.7426 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/1.101, allocations: 25.7 kB / 0.7426 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/1.101, allocations: 88.17 kB / 0.7427 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/1.101, allocations: 7.906 kB / 0.7427 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/1.101, allocations: 0 / 0.7427 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001677/1.101, allocations: 314.8 kB / 0.743 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.634e-05/1.101, allocations: 4 kB / 0.743 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.967e-05/1.101, allocations: 13.72 kB / 0.743 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.748e-05/1.101, allocations: 12.05 kB / 0.743 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.101, allocations: 7.875 kB / 0.743 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.266e-05/1.101, allocations: 53.58 kB / 0.7431 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.101, allocations: 4 kB / 0.7431 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/1.101, allocations: 0 / 0.7431 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/1.101, allocations: 0 / 0.7431 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.959e-05/1.101, allocations: 4 kB / 0.7431 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/1.101, allocations: 0 / 0.7431 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.808e-05/1.101, allocations: 4.25 kB / 0.7431 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/1.101, allocations: 0 / 0.7431 GB, free: 10.7 MB / 0.5261 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 0.0001005/1.101, allocations: 109 kB / 0.7432 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.995e-05/1.102, allocations: 49.58 kB / 0.7432 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/1.102, allocations: 7.906 kB / 0.7432 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/1.102, allocations: 49.42 kB / 0.7433 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/1.102, allocations: 0 / 0.7433 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/1.102, allocations: 0 / 0.7433 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/1.102, allocations: 4 kB / 0.7433 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/1.102, allocations: 130.2 kB / 0.7434 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.102, allocations: 4.062 kB / 0.7434 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.833e-05/1.102, allocations: 4 kB / 0.7434 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/1.102, allocations: 3.953 kB / 0.7434 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/1.102, allocations: 0 / 0.7434 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.102, allocations: 0 / 0.7434 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.102, allocations: 0 / 0.7434 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/1.102, allocations: 81.03 kB / 0.7435 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-05/1.102, allocations: 85.23 kB / 0.7436 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/1.102, allocations: 7.953 kB / 0.7436 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.106e-05/1.102, allocations: 0 / 0.7436 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/1.103, allocations: 0 / 0.7436 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/1.103, allocations: 3.984 kB / 0.7436 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.783e-05/1.103, allocations: 83.28 kB / 0.7437 GB, free: 10 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.61e-07/1.103, allocations: 0 / 0.7437 GB, free: 10 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003046/1.103, allocations: 4 kB / 0.7437 GB, free: 9.996 MB / 0.5261 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.000614/1.104, allocations: 0.6124 MB / 0.7443 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001189/1.104, allocations: 15.92 kB / 0.7443 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.104, allocations: 0 / 0.7443 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.251e-05/1.104, allocations: 8 kB / 0.7443 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/1.104, allocations: 7.891 kB / 0.7443 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005154/1.104, allocations: 111.9 kB / 0.7444 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/1.105, allocations: 0.6846 MB / 0.7451 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.341e-05/1.105, allocations: 0 / 0.7451 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.695e-05/1.105, allocations: 19.38 kB / 0.7451 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of SimCode: time 3.6e-07/1.105, allocations: 0 / 0.7451 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1126/1.218, allocations: 0.6633 MB / 0.7457 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003523/1.218, allocations: 119.6 kB / 0.7458 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.676/3.894, allocations: 3.938 kB / 0.7459 GB, free: 7.598 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)