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.001401/0.001402, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001618/0.001618, allocations: 191 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9007/0.9007, allocations: 135.2 MB / 425.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 62.52 kB / 0.5049 GB, free: 5.605 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1519, allocations: 80.93 MB / 0.5839 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.49/0.642, allocations: 234.6 MB / 0.8131 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0222/0.6642, allocations: 15.67 MB / 0.8284 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003157/0.6674, allocations: 59.62 kB / 0.8284 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003161/0.6706, allocations: 0.9096 MB / 0.8293 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008275/0.679, allocations: 2.779 MB / 0.832 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004681/0.6837, allocations: 1.539 MB / 0.8335 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005927/0.6896, allocations: 3.442 MB / 0.8369 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/0.6918, allocations: 1.258 MB / 0.8381 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007633/0.6994, allocations: 2.476 MB / 0.8405 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003301/0.7028, allocations: 1.147 MB / 0.8417 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004194/0.7032, allocations: 123.9 kB / 0.8418 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007371/0.7106, allocations: 3.262 MB / 0.845 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007468/0.7113, allocations: 490.4 kB / 0.8454 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001515/0.7129, allocations: 0.8162 MB / 0.8462 GB, free: 408 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007479/0.7204, allocations: 3.163 MB / 0.8493 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.7204, allocations: 0 / 0.8493 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.505e-06/0.7204, allocations: 0 / 0.8493 GB, free: 13.23 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.264e-05/0.7205, allocations: 0 / 0.8493 GB, free: 13.23 MB / 0.67 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.004069/0.7245, allocations: 2.008 MB / 0.8513 GB, free: 11.17 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.7246, allocations: 12.03 kB / 0.8513 GB, free: 11.16 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00295/0.7276, allocations: 0.4936 MB / 0.8518 GB, free: 10.66 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002476/0.7301, allocations: 1.117 MB / 0.8529 GB, free: 9.484 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009072/0.731, allocations: 237.8 kB / 0.8531 GB, free: 9.254 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.7312, allocations: 108 kB / 0.8532 GB, free: 9.148 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00257/0.7337, allocations: 1.322 MB / 0.8545 GB, free: 7.734 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.7338, allocations: 4.625 kB / 0.8545 GB, free: 7.73 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.7339, allocations: 40 kB / 0.8545 GB, free: 7.691 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.779e-05/0.734, allocations: 45.98 kB / 0.8546 GB, free: 7.648 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/0.7364, allocations: 1.073 MB / 0.8556 GB, free: 6.574 MB / 0.67 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.3737/1.11, allocations: 6.634 MB / 0.8621 GB, free: 222.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/1.112, allocations: 0.5732 MB / 0.8627 GB, free: 222.2 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005594/1.112, allocations: 266.8 kB / 0.8629 GB, free: 222.2 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003307/1.113, allocations: 284.8 kB / 0.8632 GB, free: 221.9 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/1.113, allocations: 37.44 kB / 0.8632 GB, free: 221.9 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/1.113, allocations: 0 / 0.8632 GB, free: 221.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002295/1.115, allocations: 0.8607 MB / 0.8641 GB, free: 221.8 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/1.115, allocations: 54.34 kB / 0.8641 GB, free: 221.8 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/1.117, allocations: 1.363 MB / 0.8654 GB, free: 221.6 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.845e-05/1.117, allocations: 36.17 kB / 0.8655 GB, free: 221.6 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/1.117, allocations: 0.6781 MB / 0.8661 GB, free: 221.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.821e-05/1.117, allocations: 125.3 kB / 0.8663 GB, free: 221.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/1.117, allocations: 162.5 kB / 0.8664 GB, free: 221.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.768e-05/1.117, allocations: 327 kB / 0.8667 GB, free: 220.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000746/1.118, allocations: 317.4 kB / 0.867 GB, free: 220.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008732/1.119, allocations: 0.6536 MB / 0.8677 GB, free: 220.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/1.12, allocations: 0.8657 MB / 0.8685 GB, free: 219.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/1.121, allocations: 6.125 kB / 0.8685 GB, free: 219.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001977/1.122, allocations: 1.016 MB / 0.8695 GB, free: 219.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/1.123, allocations: 10.38 kB / 0.8695 GB, free: 219.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.123, allocations: 8.812 kB / 0.8695 GB, free: 219.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/1.123, allocations: 14.38 kB / 0.8695 GB, free: 219.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007886/1.123, allocations: 198 kB / 0.8697 GB, free: 219.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/1.123, allocations: 21.3 kB / 0.8698 GB, free: 219.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/1.125, allocations: 214.3 kB / 0.87 GB, free: 219.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/1.125, allocations: 53.03 kB / 0.87 GB, free: 219.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001014/1.126, allocations: 0.5697 MB / 0.8706 GB, free: 219.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008699/1.127, allocations: 0.6473 MB / 0.8712 GB, free: 218.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0014/1.128, allocations: 0.8669 MB / 0.872 GB, free: 218.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.138e-06/1.128, allocations: 2.781 kB / 0.8721 GB, free: 218.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.001936/1.13, allocations: 1.015 MB / 0.873 GB, free: 217.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/1.13, allocations: 8.562 kB / 0.873 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.13, allocations: 11.06 kB / 0.8731 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/1.13, allocations: 16.5 kB / 0.8731 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007574/1.131, allocations: 197.8 kB / 0.8733 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/1.131, allocations: 16.19 kB / 0.8733 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/1.132, allocations: 168.9 kB / 0.8734 GB, free: 217.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/1.132, allocations: 37.58 kB / 0.8735 GB, free: 217.8 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001871/1.132, allocations: 229.4 kB / 0.8737 GB, free: 217.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/1.133, allocations: 136.8 kB / 0.8738 GB, free: 217.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/1.134, allocations: 0.6537 MB / 0.8745 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/1.134, allocations: 3.438 kB / 0.8745 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/1.134, allocations: 10.06 kB / 0.8745 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/1.134, allocations: 3.844 kB / 0.8745 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/1.137, allocations: 1.926 MB / 0.8764 GB, free: 216.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.137, allocations: 3.219 kB / 0.8764 GB, free: 216.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004759/1.138, allocations: 94.28 kB / 0.8765 GB, free: 216.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-06/1.138, allocations: 7.594 kB / 0.8765 GB, free: 216.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/1.138, allocations: 12.95 kB / 0.8765 GB, free: 216.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/1.138, allocations: 10.34 kB / 0.8765 GB, free: 216.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.138, allocations: 6.344 kB / 0.8765 GB, free: 216.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/1.139, allocations: 0.8232 MB / 0.8773 GB, free: 215.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003515/1.139, allocations: 295.6 kB / 0.8776 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/1.14, allocations: 9.531 kB / 0.8776 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/1.141, allocations: 96.91 kB / 0.8777 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.688e-05/1.141, allocations: 40.88 kB / 0.8777 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/1.141, allocations: 24.86 kB / 0.8777 GB, free: 215.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001178/1.142, allocations: 0.9945 MB / 0.8787 GB, free: 215.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.082e-06/1.142, allocations: 0 / 0.8787 GB, free: 215.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001608/1.144, allocations: 0.5689 MB / 0.8793 GB, free: 215.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005037/1.144, allocations: 272.1 kB / 0.8795 GB, free: 215 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002483/1.147, allocations: 1.129 MB / 0.8806 GB, free: 214.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.147, allocations: 0 / 0.8806 GB, free: 214.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006102/1.147, allocations: 262 kB / 0.8809 GB, free: 214.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/1.15, allocations: 0.7416 MB / 0.8816 GB, free: 214.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004351/1.155, allocations: 2.696 MB / 0.8842 GB, free: 212.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/1.155, allocations: 1.187 MB / 0.8854 GB, free: 212.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001492/1.157, allocations: 363.8 kB / 0.8857 GB, free: 212 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/1.157, allocations: 96.41 kB / 0.8858 GB, free: 212 MB / 0.67 GB Notification: Performance of SimCode: time 1.162e-06/1.157, allocations: 2.531 kB / 0.8858 GB, free: 212 MB / 0.67 GB Notification: Performance of Templates: time 0.04878/1.206, allocations: 24.67 MB / 0.9099 GB, free: 208.3 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)