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: translateModel(IDEAS.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4") translateModel(IDEAS.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008575/0.0008575, allocations: 100 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.000866/0.0008661, 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 1.228/1.228, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8245/0.8245, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002752/0.0002752, allocations: 9.312 kB / 0.5068 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1326, allocations: 82.31 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.4136/0.5461, allocations: 194.8 MB / 0.7774 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01831/0.5645, allocations: 14.49 MB / 0.7916 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.5661, allocations: 51.62 kB / 0.7916 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002424/0.5685, allocations: 0.9449 MB / 0.7926 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006769/0.5753, allocations: 2.976 MB / 0.7955 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003684/0.579, allocations: 1.549 MB / 0.797 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002777/0.5818, allocations: 2.021 MB / 0.799 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.5829, allocations: 0.9602 MB / 0.7999 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003404/0.5863, allocations: 1.706 MB / 0.8016 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009724/0.5873, allocations: 0.6923 MB / 0.8022 GB, free: 288 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.5874, allocations: 48 kB / 0.8023 GB, free: 240 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/0.5907, allocations: 1.677 MB / 0.8039 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003215/0.591, allocations: 358.8 kB / 0.8043 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003554/0.5914, allocations: 332.9 kB / 0.8046 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.5938, allocations: 1.886 MB / 0.8064 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.5938, allocations: 0 / 0.8064 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.716e-06/0.5938, allocations: 0 / 0.8064 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.495e-05/0.5938, allocations: 4 kB / 0.8064 GB, free: 11.98 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.003047/0.5969, allocations: 1.69 MB / 0.8081 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.5969, allocations: 8.031 kB / 0.8081 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002582/0.5995, allocations: 0.5483 MB / 0.8086 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/0.6017, allocations: 1.068 MB / 0.8097 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008835/0.6025, allocations: 273.8 kB / 0.8099 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.6027, allocations: 99.98 kB / 0.81 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/0.6049, allocations: 1.326 MB / 0.8113 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.6049, allocations: 7.938 kB / 0.8113 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.6051, allocations: 43.95 kB / 0.8114 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.338e-05/0.6051, allocations: 45.98 kB / 0.8114 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/0.6074, allocations: 1.101 MB / 0.8125 GB, free: 5.574 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.006796/0.6142, allocations: 6.71 MB / 0.819 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/0.6162, allocations: 0.6323 MB / 0.8196 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-05/0.6163, allocations: 12.27 kB / 0.8197 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.6163, allocations: 42.84 kB / 0.8197 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.6163, allocations: 3.938 kB / 0.8197 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33): time 0.002313/0.6186, allocations: 0.915 MB / 0.8206 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.6187, allocations: 59.34 kB / 0.8207 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.6202, allocations: 1.354 MB / 0.822 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.982e-05/0.6203, allocations: 33.7 kB / 0.822 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004628/0.6208, allocations: 0.6834 MB / 0.8227 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 9.049e-05/0.6209, allocations: 122.3 kB / 0.8228 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.6209, allocations: 12 kB / 0.8228 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.621, allocations: 330 kB / 0.8231 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008045/0.6218, allocations: 325.1 kB / 0.8234 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.6229, allocations: 0.6647 MB / 0.8241 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008681/0.6237, allocations: 405.3 kB / 0.8245 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.6237, allocations: 0 / 0.8245 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002075/0.6258, allocations: 1.05 MB / 0.8255 GB, free: 7.57 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.001212/0.627, allocations: 3.91 MB / 0.8293 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.6271, allocations: 11.94 kB / 0.8293 GB, free: 3.414 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.997e-05/0.6271, allocations: 16 kB / 0.8293 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007682/0.6279, allocations: 203.7 kB / 0.8295 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.162e-05/0.6279, allocations: 19.92 kB / 0.8295 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.6292, allocations: 234.8 kB / 0.8298 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.396e-05/0.6292, allocations: 39.98 kB / 0.8298 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/0.6292, allocations: 7.953 kB / 0.8298 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00188/0.6311, allocations: 0.8978 MB / 0.8307 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.6311, allocations: 12 kB / 0.8307 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.6312, allocations: 12 kB / 0.8307 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007436/0.6319, allocations: 205.3 kB / 0.8309 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/0.6319, allocations: 27.86 kB / 0.8309 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.633, allocations: 202.9 kB / 0.8311 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/0.633, allocations: 43.98 kB / 0.8312 GB, free: 1.512 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.0004566/0.6335, allocations: 416.8 kB / 0.8316 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.6336, allocations: 138.3 kB / 0.8317 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.6351, allocations: 0.6846 MB / 0.8324 GB, free: 264 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.6352, allocations: 0 / 0.8324 GB, free: 264 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6352, allocations: 4 kB / 0.8324 GB, free: 260 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6352, allocations: 3.938 kB / 0.8324 GB, free: 256 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00388/0.6391, allocations: 2.543 MB / 0.8349 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.6391, allocations: 8.875 kB / 0.8349 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004693/0.6396, allocations: 112 kB / 0.835 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.6396, allocations: 12 kB / 0.835 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.6396, allocations: 12 kB / 0.835 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/0.6396, allocations: 19.92 kB / 0.835 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.6396, allocations: 11.98 kB / 0.835 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.6413, allocations: 1.402 MB / 0.8364 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003985/0.6418, allocations: 287.2 kB / 0.8367 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/0.642, allocations: 23.94 kB / 0.8367 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009513/0.6429, allocations: 111.8 kB / 0.8368 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.599e-05/0.643, allocations: 51.78 kB / 0.8369 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.6431, allocations: 28.17 kB / 0.8369 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001165/0.6442, allocations: 0.9278 MB / 0.8378 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6442, allocations: 0 / 0.8378 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001427/0.6457, allocations: 0.5771 MB / 0.8383 GB, free: 9.629 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.0004751/0.6461, allocations: 278.2 kB / 0.8386 GB, free: 9.359 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002612/0.6488, allocations: 1.156 MB / 0.8397 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.6488, allocations: 4 kB / 0.8397 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006754/0.6495, allocations: 296.8 kB / 0.84 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/0.6521, allocations: 0.6224 MB / 0.8406 GB, free: 7.305 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/0.6556, allocations: 2.648 MB / 0.8432 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007748/0.6563, allocations: 1.212 MB / 0.8444 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001315/0.6577, allocations: 359.6 kB / 0.8448 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.6579, allocations: 87.42 kB / 0.8448 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of SimCode: time 7.61e-07/0.6579, allocations: 0 / 0.8448 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of Templates: time 0.2584/0.9163, allocations: 21.39 MB / 0.8657 GB, free: 215.5 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.makefile Environment - environmentSimulation: (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 & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1) Environment - environmentSimulation: