Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example4.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.Example4,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example4,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example4",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.001361/0.001361, allocations: 174.5 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.722/0.722, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.518/1.518, allocations: 221.3 MB / 400.4 MB, free: 5.789 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.001089/0.001089, allocations: 107.2 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.979e-05/2.99e-05, allocations: 3.5 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1465, allocations: 82.31 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.222/4.368, allocations: 1.914 GB / 2.555 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/4.369, allocations: 87.95 kB / 2.555 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.764/10.13, allocations: 1.47 GB / 4.025 GB, free: 74.08 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.543e-06/10.13, allocations: 2.344 kB / 4.025 GB, free: 74.08 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001939/10.13, allocations: 42.55 kB / 4.025 GB, free: 74.07 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.005432/10.14, allocations: 1.892 MB / 4.027 GB, free: 73.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/10.14, allocations: 11.66 kB / 4.027 GB, free: 73.21 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004006/10.14, allocations: 155.3 kB / 4.027 GB, free: 73.17 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003275/10.14, allocations: 0.5121 MB / 4.028 GB, free: 73.08 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003329/10.15, allocations: 1.224 MB / 4.029 GB, free: 72.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009329/10.15, allocations: 281.3 kB / 4.029 GB, free: 72.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002645/10.15, allocations: 103.6 kB / 4.029 GB, free: 72.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/10.15, allocations: 1.195 MB / 4.03 GB, free: 72.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/10.15, allocations: 6.656 kB / 4.03 GB, free: 72.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/10.15, allocations: 43.12 kB / 4.03 GB, free: 72.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-05/10.15, allocations: 43 kB / 4.03 GB, free: 72.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/10.15, allocations: 0.8316 MB / 4.031 GB, free: 72.4 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007781/10.16, allocations: 6.664 MB / 4.038 GB, free: 68.26 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/10.16, allocations: 429.7 kB / 4.038 GB, free: 68.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/10.16, allocations: 195.4 kB / 4.038 GB, free: 68.22 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003513/10.16, allocations: 284.2 kB / 4.039 GB, free: 67.94 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/10.16, allocations: 36.69 kB / 4.039 GB, free: 67.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.705e-06/10.16, allocations: 5.562 kB / 4.039 GB, free: 67.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001238/10.16, allocations: 0.4912 MB / 4.039 GB, free: 67.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/10.16, allocations: 64.23 kB / 4.039 GB, free: 67.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/10.16, allocations: 1.144 MB / 4.04 GB, free: 67.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.643e-05/10.16, allocations: 32.73 kB / 4.04 GB, free: 67.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005091/10.16, allocations: 0.6763 MB / 4.041 GB, free: 67.28 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/10.16, allocations: 121 kB / 4.041 GB, free: 67.21 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/10.16, allocations: 9.938 kB / 4.041 GB, free: 67.21 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.465e-05/10.16, allocations: 335.9 kB / 4.041 GB, free: 66.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/10.16, allocations: 206 kB / 4.042 GB, free: 66.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004842/10.16, allocations: 0.5592 MB / 4.042 GB, free: 66.47 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/10.16, allocations: 286 kB / 4.042 GB, free: 66.47 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/10.16, allocations: 3.953 kB / 4.042 GB, free: 66.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001296/10.17, allocations: 0.8153 MB / 4.043 GB, free: 66.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007273/10.17, allocations: 3.812 MB / 4.047 GB, free: 62.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/10.17, allocations: 9.469 kB / 4.047 GB, free: 62.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-05/10.17, allocations: 16.78 kB / 4.047 GB, free: 62.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008544/10.17, allocations: 204 kB / 4.047 GB, free: 62.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.471e-05/10.17, allocations: 24.27 kB / 4.047 GB, free: 62.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/10.17, allocations: 238.5 kB / 4.047 GB, free: 62.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/10.17, allocations: 45.12 kB / 4.047 GB, free: 62.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/10.17, allocations: 6.906 kB / 4.047 GB, free: 62.4 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001073/10.17, allocations: 0.6597 MB / 4.048 GB, free: 62.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/10.17, allocations: 11.16 kB / 4.048 GB, free: 62.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/10.17, allocations: 15.06 kB / 4.048 GB, free: 62.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007797/10.17, allocations: 214.4 kB / 4.048 GB, free: 62.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/10.17, allocations: 17.62 kB / 4.048 GB, free: 62.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/10.17, allocations: 197.6 kB / 4.048 GB, free: 62.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.904e-05/10.17, allocations: 46.39 kB / 4.049 GB, free: 62.36 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0001966/10.17, allocations: 157.6 kB / 4.049 GB, free: 62.24 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000279/10.17, allocations: 137.6 kB / 4.049 GB, free: 62.17 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009997/10.17, allocations: 0.5167 MB / 4.049 GB, free: 62.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/10.17, allocations: 2.594 kB / 4.049 GB, free: 62.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/10.17, allocations: 9.719 kB / 4.049 GB, free: 62.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/10.17, allocations: 3.609 kB / 4.049 GB, free: 62.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003174/10.18, allocations: 1.759 MB / 4.051 GB, free: 61.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/10.18, allocations: 3.094 kB / 4.051 GB, free: 61.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005031/10.18, allocations: 109.1 kB / 4.051 GB, free: 61.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/10.18, allocations: 11.11 kB / 4.051 GB, free: 61.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/10.18, allocations: 13.38 kB / 4.051 GB, free: 61.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/10.18, allocations: 7.219 kB / 4.051 GB, free: 61.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/10.18, allocations: 8.688 kB / 4.051 GB, free: 61.64 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009379/10.18, allocations: 0.8839 MB / 4.052 GB, free: 61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006084/10.18, allocations: 287.6 kB / 4.052 GB, free: 60.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003569/10.18, allocations: 16.22 kB / 4.052 GB, free: 60.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/10.18, allocations: 101.4 kB / 4.052 GB, free: 60.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.741e-05/10.18, allocations: 37.83 kB / 4.052 GB, free: 60.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.388e-05/10.18, allocations: 21.66 kB / 4.053 GB, free: 60.83 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001231/10.18, allocations: 0.8787 MB / 4.053 GB, free: 60.71 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/10.18, allocations: 3.062 kB / 4.053 GB, free: 60.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003314/10.19, allocations: 0.8816 MB / 4.054 GB, free: 60.65 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.006295/10.19, allocations: 5.469 MB / 4.06 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001659/10.19, allocations: 0.8854 MB / 4.06 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/10.19, allocations: 2.953 kB / 4.06 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003103/10.19, allocations: 195.5 kB / 4.061 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/10.2, allocations: 0.6147 MB / 4.061 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005613/10.2, allocations: 1.964 MB / 4.063 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006937/10.2, allocations: 1.212 MB / 4.064 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002211/10.21, allocations: 472.6 kB / 4.065 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005843/10.21, allocations: 460.4 kB / 4.065 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of SimCode: time 8.02e-07/10.21, allocations: 0 / 4.065 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1241/10.33, allocations: 85.56 MB / 4.149 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001343/10.33, allocations: 179.8 kB / 4.149 GB, free: 412 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.983/15.31, allocations: 3.938 kB / 4.149 GB, free: 408 kB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example4.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)