Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 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(IDEAS.Fluid.Examples.Performance.Example4,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example4,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4",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.001297/0.001297, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001781/0.001781, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.434/2.434, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.632/1.632, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006141/0.0006144, allocations: 12 kB / 0.5069 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2984, allocations: 82.31 MB / 0.5873 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.988/1.287, allocations: 194.8 MB / 0.7775 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03799/1.325, allocations: 14.49 MB / 0.7917 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005038/1.33, allocations: 51.62 kB / 0.7917 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005871/1.336, allocations: 0.9488 MB / 0.7926 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02038/1.356, allocations: 2.98 MB / 0.7956 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.008873/1.365, allocations: 1.542 MB / 0.7971 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007125/1.372, allocations: 2.014 MB / 0.799 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003124/1.375, allocations: 0.9617 MB / 0.8 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007484/1.383, allocations: 1.713 MB / 0.8016 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01082/1.394, allocations: 0.6884 MB / 0.8023 GB, free: 276 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006468/1.394, allocations: 48 kB / 0.8024 GB, free: 228 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007249/1.402, allocations: 1.685 MB / 0.804 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.00106/1.403, allocations: 362.8 kB / 0.8044 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001312/1.404, allocations: 328.9 kB / 0.8047 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01277/1.417, allocations: 1.886 MB / 0.8065 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.417, allocations: 0 / 0.8065 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.166e-06/1.417, allocations: 0 / 0.8065 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001158/1.417, allocations: 4 kB / 0.8065 GB, free: 11.96 MB / 0.6231 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.008469/1.426, allocations: 1.692 MB / 0.8082 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001057/1.426, allocations: 8.031 kB / 0.8082 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006686/1.426, allocations: 152.2 kB / 0.8083 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004997/1.431, allocations: 0.5444 MB / 0.8088 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004695/1.436, allocations: 1.064 MB / 0.8099 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001475/1.438, allocations: 273.8 kB / 0.8101 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003817/1.438, allocations: 100 kB / 0.8102 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004512/1.443, allocations: 1.326 MB / 0.8115 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.201e-05/1.443, allocations: 7.938 kB / 0.8115 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002227/1.443, allocations: 40 kB / 0.8116 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/1.443, allocations: 49.98 kB / 0.8116 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004387/1.447, allocations: 1.104 MB / 0.8127 GB, free: 5.402 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01434/1.462, allocations: 6.702 MB / 0.8193 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003249/1.465, allocations: 0.6323 MB / 0.8199 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/1.465, allocations: 12.28 kB / 0.8199 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/1.465, allocations: 46.8 kB / 0.8199 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=33): time 3.707e-06/1.465, allocations: 0 / 0.8199 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33): time 0.005476/1.471, allocations: 0.9188 MB / 0.8208 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.043e-05/1.471, allocations: 55.41 kB / 0.8209 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004696/1.476, allocations: 1.354 MB / 0.8222 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001783/1.476, allocations: 33.7 kB / 0.8222 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001152/1.477, allocations: 0.6834 MB / 0.8229 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/1.477, allocations: 122.3 kB / 0.823 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.174e-05/1.477, allocations: 12 kB / 0.823 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002336/1.478, allocations: 330 kB / 0.8233 GB, free: 10 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/1.479, allocations: 325.1 kB / 0.8237 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002361/1.482, allocations: 0.6685 MB / 0.8243 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/1.484, allocations: 405.3 kB / 0.8247 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.96e-05/1.484, allocations: 4 kB / 0.8247 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.005202/1.489, allocations: 1.05 MB / 0.8257 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.002755/1.492, allocations: 3.902 MB / 0.8295 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.339e-05/1.492, allocations: 8 kB / 0.8295 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.801e-05/1.492, allocations: 16 kB / 0.8296 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/1.494, allocations: 207.7 kB / 0.8298 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.117e-05/1.494, allocations: 19.94 kB / 0.8298 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003455/1.498, allocations: 238.7 kB / 0.83 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/1.498, allocations: 40.86 kB / 0.83 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/1.498, allocations: 4 kB / 0.83 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004469/1.502, allocations: 0.8976 MB / 0.8309 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.005e-05/1.502, allocations: 12 kB / 0.8309 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.522e-05/1.502, allocations: 15.94 kB / 0.8309 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/1.504, allocations: 204.2 kB / 0.8311 GB, free: 1.613 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.826e-05/1.504, allocations: 23.92 kB / 0.8312 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00292/1.507, allocations: 203 kB / 0.8314 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/1.507, allocations: 47.98 kB / 0.8314 GB, free: 1.344 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (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.00135/1.509, allocations: 416.7 kB / 0.8318 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006174/1.509, allocations: 142.3 kB / 0.8319 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003496/1.513, allocations: 0.6807 MB / 0.8326 GB, free: 92 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/1.513, allocations: 0 / 0.8326 GB, free: 92 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.513, allocations: 7.938 kB / 0.8326 GB, free: 84 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/1.513, allocations: 7.984 kB / 0.8326 GB, free: 76 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008764/1.522, allocations: 2.535 MB / 0.8351 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.877e-05/1.522, allocations: 8 kB / 0.8351 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009291/1.523, allocations: 104 kB / 0.8352 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.523e-05/1.523, allocations: 8 kB / 0.8352 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-05/1.523, allocations: 23.92 kB / 0.8352 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.671e-05/1.523, allocations: 19.94 kB / 0.8353 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.975e-05/1.523, allocations: 15.92 kB / 0.8353 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003749/1.527, allocations: 1.4 MB / 0.8366 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/1.528, allocations: 295.2 kB / 0.8369 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003527/1.528, allocations: 16 kB / 0.8369 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001871/1.53, allocations: 107.8 kB / 0.837 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/1.53, allocations: 51.84 kB / 0.8371 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-05/1.53, allocations: 23.98 kB / 0.8371 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002568/1.533, allocations: 0.9278 MB / 0.838 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.845e-06/1.533, allocations: 4 kB / 0.838 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003464/1.536, allocations: 0.5848 MB / 0.8386 GB, free: 9.453 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 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.00535/1.542, allocations: 4.153 MB / 0.8426 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004822/1.547, allocations: 1.159 MB / 0.8438 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.547, allocations: 0 / 0.8438 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/1.548, allocations: 298.4 kB / 0.8441 GB, free: 3.629 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005021/1.553, allocations: 0.6244 MB / 0.8447 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/1.567, allocations: 10.17 MB / 0.8546 GB, free: 8.492 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/1.569, allocations: 1.208 MB / 0.8558 GB, free: 7.254 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002986/1.572, allocations: 346.7 kB / 0.8561 GB, free: 6.91 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/1.573, allocations: 491.3 kB / 0.8566 GB, free: 6.43 MB / 0.67 GB Notification: Performance of SimCode: time 1.132e-06/1.573, allocations: 0 / 0.8566 GB, free: 6.43 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6354/2.208, allocations: 32.53 MB / 0.8883 GB, free: 213.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/2.209, allocations: 204.8 kB / 0.8885 GB, free: 213.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.999/7.208, allocations: 4.938 kB / 0.8885 GB, free: 213.1 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1) Environment - environmentSimulation: