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.0009046/0.0009045, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009753/0.0009752, allocations: 172.7 kB / 15.95 MB, free: 208 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.407/1.407, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.962/0.962, allocations: 135.3 MB / 426.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.000343, allocations: 8 kB / 0.507 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1867, allocations: 82.32 MB / 0.5874 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.5919/0.7786, allocations: 216.6 MB / 0.7989 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02107/0.7997, allocations: 14.71 MB / 0.8133 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002835/0.8026, allocations: 51.62 kB / 0.8133 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002962/0.8056, allocations: 0.6559 MB / 0.814 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007782/0.8134, allocations: 2.122 MB / 0.8161 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004266/0.8177, allocations: 1.252 MB / 0.8173 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006396/0.8241, allocations: 3.962 MB / 0.8211 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002045/0.8261, allocations: 0.9395 MB / 0.8221 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00588/0.832, allocations: 1.912 MB / 0.8239 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/0.8343, allocations: 1.004 MB / 0.8249 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004344/0.8347, allocations: 48 kB / 0.825 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005661/0.8404, allocations: 1.902 MB / 0.8268 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007363/0.8412, allocations: 394.5 kB / 0.8272 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006812/0.8419, allocations: 336.9 kB / 0.8275 GB, free: 6.953 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003623/0.8455, allocations: 2.03 MB / 0.8295 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.8455, allocations: 0 / 0.8295 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8455, allocations: 0 / 0.8295 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.029e-05/0.8456, allocations: 0 / 0.8295 GB, free: 4.918 MB / 0.6387 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.003449/0.849, allocations: 1.735 MB / 0.8312 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.8491, allocations: 8.031 kB / 0.8312 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002679/0.8517, allocations: 0.5444 MB / 0.8317 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/0.8539, allocations: 1.064 MB / 0.8328 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007952/0.8547, allocations: 277.8 kB / 0.833 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.8548, allocations: 104 kB / 0.8331 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.8573, allocations: 1.33 MB / 0.8344 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.8574, allocations: 3.938 kB / 0.8344 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.703e-05/0.8575, allocations: 51.95 kB / 0.8345 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.634e-05/0.8575, allocations: 45.98 kB / 0.8345 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.8599, allocations: 1.108 MB / 0.8356 GB, free: 14.45 MB / 0.6544 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.008544/0.8685, allocations: 6.656 MB / 0.8421 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.8701, allocations: 0.602 MB / 0.8427 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000606/0.8707, allocations: 285.2 kB / 0.843 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003844/0.8711, allocations: 283.6 kB / 0.8432 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.8711, allocations: 38.84 kB / 0.8433 GB, free: 6.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 1.933e-06/0.8711, allocations: 0 / 0.8433 GB, free: 6.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.002506/0.8736, allocations: 0.9105 MB / 0.8442 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.8737, allocations: 55.41 kB / 0.8442 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/0.8758, allocations: 1.358 MB / 0.8455 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.178e-05/0.8759, allocations: 29.7 kB / 0.8456 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006135/0.8765, allocations: 0.6795 MB / 0.8462 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.8767, allocations: 122.3 kB / 0.8464 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.8767, allocations: 20 kB / 0.8464 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.8769, allocations: 330 kB / 0.8467 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007844/0.8776, allocations: 325.1 kB / 0.847 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.8789, allocations: 0.6638 MB / 0.8476 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008775/0.8798, allocations: 395.7 kB / 0.848 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.8798, allocations: 4 kB / 0.848 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002416/0.8822, allocations: 1.047 MB / 0.8491 GB, free: 15.97 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003462/0.8826, allocations: 379.9 kB / 0.8494 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.8826, allocations: 15.94 kB / 0.8494 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-05/0.8826, allocations: 12 kB / 0.8494 GB, free: 15.44 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000869/0.8835, allocations: 215.6 kB / 0.8496 GB, free: 15.23 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.701e-05/0.8836, allocations: 23.92 kB / 0.8497 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.885, allocations: 233.3 kB / 0.8499 GB, free: 14.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-05/0.8851, allocations: 39.98 kB / 0.8499 GB, free: 14.94 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.8851, allocations: 4 kB / 0.8499 GB, free: 14.93 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002029/0.8871, allocations: 0.9028 MB / 0.8508 GB, free: 14.03 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.8871, allocations: 8 kB / 0.8508 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.8872, allocations: 16 kB / 0.8508 GB, free: 14.01 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007852/0.8879, allocations: 216.3 kB / 0.851 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.888, allocations: 15.94 kB / 0.8511 GB, free: 13.78 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.8892, allocations: 202.9 kB / 0.8513 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.62e-05/0.8893, allocations: 47.94 kB / 0.8513 GB, free: 13.54 MB / 0.67 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 () * 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.0006735/0.8899, allocations: 408.8 kB / 0.8517 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.8901, allocations: 134.3 kB / 0.8518 GB, free: 12.99 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.8917, allocations: 0.6884 MB / 0.8525 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.8917, allocations: 4 kB / 0.8525 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.8918, allocations: 4 kB / 0.8525 GB, free: 12.28 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.8918, allocations: 3.984 kB / 0.8525 GB, free: 12.28 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003412/0.8952, allocations: 1.94 MB / 0.8544 GB, free: 10.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.8952, allocations: 4 kB / 0.8544 GB, free: 10.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005014/0.8957, allocations: 104 kB / 0.8545 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.415e-05/0.8957, allocations: 8 kB / 0.8545 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/0.8958, allocations: 11.98 kB / 0.8545 GB, free: 10.11 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.357e-06/0.8958, allocations: 11.94 kB / 0.8545 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.8958, allocations: 4 kB / 0.8545 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.8973, allocations: 0.8413 MB / 0.8554 GB, free: 9.184 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004967/0.8978, allocations: 287.2 kB / 0.8556 GB, free: 8.883 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/0.8981, allocations: 8 kB / 0.8556 GB, free: 8.875 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009515/0.899, allocations: 107.9 kB / 0.8557 GB, free: 8.77 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.526e-05/0.8992, allocations: 35.86 kB / 0.8558 GB, free: 8.734 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/0.8992, allocations: 23.98 kB / 0.8558 GB, free: 8.711 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001504/0.9007, allocations: 0.9278 MB / 0.8567 GB, free: 7.785 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9007, allocations: 0 / 0.8567 GB, free: 7.785 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001778/0.9025, allocations: 0.577 MB / 0.8573 GB, free: 7.207 MB / 0.67 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 () * 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.0006287/0.9031, allocations: 272.8 kB / 0.8575 GB, free: 6.945 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002807/0.906, allocations: 1.151 MB / 0.8586 GB, free: 5.797 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.906, allocations: 0.9375 kB / 0.8586 GB, free: 5.797 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006446/0.9066, allocations: 280.6 kB / 0.8589 GB, free: 5.523 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/0.9096, allocations: 0.6183 MB / 0.8595 GB, free: 4.918 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005602/0.9152, allocations: 2.657 MB / 0.8621 GB, free: 2.18 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/0.9164, allocations: 1.177 MB / 0.8633 GB, free: 0.9727 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001751/0.9182, allocations: 358.7 kB / 0.8636 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003032/0.9185, allocations: 95.41 kB / 0.8637 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of SimCode: time 2.504e-06/0.9185, allocations: 0 / 0.8637 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of Templates: time 0.315/1.234, allocations: 21.34 MB / 0.8845 GB, free: 215.1 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.makefile (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)