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.001687/0.001687, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001966/0.001967, allocations: 198.6 kB / 16.26 MB, free: 6.629 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.451/1.451, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.024/1.024, allocations: 135.2 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001927, allocations: 69.58 kB / 0.5049 GB, free: 5.598 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.171, allocations: 80.93 MB / 0.5839 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.5086/0.6796, allocations: 234.6 MB / 0.8131 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02335/0.703, allocations: 15.67 MB / 0.8284 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002745/0.7058, allocations: 59.62 kB / 0.8284 GB, free: 2.641 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002964/0.7088, allocations: 0.9135 MB / 0.8293 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009178/0.718, allocations: 2.787 MB / 0.832 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004629/0.7227, allocations: 1.535 MB / 0.8335 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005594/0.7283, allocations: 3.446 MB / 0.8369 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002257/0.7306, allocations: 1.254 MB / 0.8381 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006801/0.7374, allocations: 2.487 MB / 0.8406 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002948/0.7403, allocations: 1.144 MB / 0.8417 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004545/0.7408, allocations: 120 kB / 0.8418 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006399/0.7472, allocations: 3.258 MB / 0.845 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008192/0.7481, allocations: 494.3 kB / 0.8454 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001676/0.7498, allocations: 0.8124 MB / 0.8462 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006599/0.7564, allocations: 3.163 MB / 0.8493 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.7564, allocations: 0 / 0.8493 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7564, allocations: 0 / 0.8493 GB, free: 13.21 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.208e-05/0.7565, allocations: 0 / 0.8493 GB, free: 13.21 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.005939/0.7624, allocations: 2.011 MB / 0.8513 GB, free: 11.14 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.7625, allocations: 12.03 kB / 0.8513 GB, free: 11.13 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003064/0.7656, allocations: 0.4937 MB / 0.8518 GB, free: 10.64 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002665/0.7682, allocations: 1.114 MB / 0.8529 GB, free: 9.465 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009386/0.7692, allocations: 248.8 kB / 0.8531 GB, free: 9.227 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002325/0.7694, allocations: 103.9 kB / 0.8532 GB, free: 9.125 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002868/0.7723, allocations: 1.318 MB / 0.8545 GB, free: 7.715 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/0.7724, allocations: 3.938 kB / 0.8545 GB, free: 7.711 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.7725, allocations: 40 kB / 0.8545 GB, free: 7.672 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.316e-05/0.7726, allocations: 45.98 kB / 0.8546 GB, free: 7.629 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002711/0.7753, allocations: 1.073 MB / 0.8556 GB, free: 6.555 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.3097/1.085, allocations: 6.629 MB / 0.8621 GB, free: 222.3 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/1.087, allocations: 0.5651 MB / 0.8627 GB, free: 222.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005714/1.087, allocations: 274.9 kB / 0.8629 GB, free: 222.3 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003175/1.088, allocations: 282.4 kB / 0.8632 GB, free: 222 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/1.088, allocations: 40.02 kB / 0.8632 GB, free: 221.9 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/1.088, allocations: 0 / 0.8632 GB, free: 221.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002306/1.09, allocations: 0.8607 MB / 0.8641 GB, free: 221.9 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/1.09, allocations: 57.81 kB / 0.8641 GB, free: 221.8 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/1.091, allocations: 1.356 MB / 0.8654 GB, free: 221.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.447e-05/1.092, allocations: 39.11 kB / 0.8655 GB, free: 221.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004138/1.092, allocations: 0.6838 MB / 0.8661 GB, free: 221.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.088e-05/1.092, allocations: 123 kB / 0.8663 GB, free: 221.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/1.092, allocations: 154.9 kB / 0.8664 GB, free: 221.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.762e-05/1.092, allocations: 334.4 kB / 0.8667 GB, free: 221 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000748/1.093, allocations: 319.1 kB / 0.867 GB, free: 220.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008859/1.094, allocations: 0.6541 MB / 0.8677 GB, free: 220.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/1.096, allocations: 0.8633 MB / 0.8685 GB, free: 219.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/1.096, allocations: 5.281 kB / 0.8685 GB, free: 219.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002144/1.098, allocations: 1.024 MB / 0.8695 GB, free: 219.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/1.098, allocations: 8.594 kB / 0.8695 GB, free: 219.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/1.098, allocations: 8.625 kB / 0.8695 GB, free: 219.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.123e-05/1.098, allocations: 13.97 kB / 0.8696 GB, free: 219.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00079/1.099, allocations: 197.3 kB / 0.8697 GB, free: 219.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/1.099, allocations: 25.2 kB / 0.8698 GB, free: 219.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/1.1, allocations: 221.2 kB / 0.87 GB, free: 219.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.261e-05/1.1, allocations: 36.53 kB / 0.87 GB, free: 219.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001209/1.101, allocations: 0.5712 MB / 0.8706 GB, free: 219.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008595/1.102, allocations: 0.6519 MB / 0.8712 GB, free: 218.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001396/1.104, allocations: 0.8693 MB / 0.8721 GB, free: 218.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.539e-06/1.104, allocations: 2.875 kB / 0.8721 GB, free: 218.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.002031/1.106, allocations: 1.009 MB / 0.873 GB, free: 217.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/1.106, allocations: 9.875 kB / 0.8731 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/1.106, allocations: 12.42 kB / 0.8731 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/1.106, allocations: 11.69 kB / 0.8731 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007249/1.106, allocations: 194.2 kB / 0.8733 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/1.107, allocations: 19.44 kB / 0.8733 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/1.108, allocations: 170.3 kB / 0.8734 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/1.108, allocations: 41 kB / 0.8735 GB, free: 217.9 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.0002526/1.108, allocations: 228.1 kB / 0.8737 GB, free: 217.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/1.108, allocations: 135.1 kB / 0.8738 GB, free: 217.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/1.11, allocations: 0.6624 MB / 0.8745 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/1.11, allocations: 3.062 kB / 0.8745 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/1.11, allocations: 7 kB / 0.8745 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.11, allocations: 3.047 kB / 0.8745 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003154/1.113, allocations: 1.923 MB / 0.8764 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/1.113, allocations: 6.031 kB / 0.8764 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/1.114, allocations: 97.25 kB / 0.8765 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/1.114, allocations: 5.062 kB / 0.8765 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/1.114, allocations: 16.62 kB / 0.8765 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/1.114, allocations: 6.312 kB / 0.8765 GB, free: 216.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.114, allocations: 9.594 kB / 0.8765 GB, free: 216.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/1.115, allocations: 0.8172 MB / 0.8773 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004056/1.115, allocations: 300.6 kB / 0.8776 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/1.116, allocations: 9.656 kB / 0.8776 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/1.117, allocations: 93.33 kB / 0.8777 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-05/1.117, allocations: 45.05 kB / 0.8777 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/1.117, allocations: 25.09 kB / 0.8777 GB, free: 215.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001295/1.118, allocations: 0.9929 MB / 0.8787 GB, free: 215.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/1.118, allocations: 0 / 0.8787 GB, free: 215.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001784/1.12, allocations: 0.5685 MB / 0.8793 GB, free: 215.2 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.0005867/1.121, allocations: 267.2 kB / 0.8795 GB, free: 215 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002654/1.123, allocations: 1.128 MB / 0.8806 GB, free: 214.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.123, allocations: 0 / 0.8806 GB, free: 214.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000608/1.124, allocations: 262.4 kB / 0.8809 GB, free: 214.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003105/1.127, allocations: 0.7406 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.004365/1.131, allocations: 2.694 MB / 0.8842 GB, free: 212.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/1.132, allocations: 1.184 MB / 0.8854 GB, free: 212.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001493/1.133, allocations: 366.6 kB / 0.8857 GB, free: 212.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/1.134, allocations: 94.89 kB / 0.8858 GB, free: 212.1 MB / 0.67 GB Notification: Performance of SimCode: time 5.81e-07/1.134, allocations: 0 / 0.8858 GB, free: 212.1 MB / 0.67 GB Notification: Performance of Templates: time 0.04935/1.183, allocations: 24.67 MB / 0.9099 GB, free: 208.2 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)