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.001196/0.001196, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00133/0.00133, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9275/0.9275, allocations: 135.1 MB / 425.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 63.97 kB / 0.5047 GB, free: 5.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1979, allocations: 80.93 MB / 0.5837 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.5596/0.7575, allocations: 235.4 MB / 0.8136 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02304/0.7806, allocations: 15.9 MB / 0.8291 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002879/0.7835, allocations: 55.62 kB / 0.8291 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003027/0.7866, allocations: 0.8705 MB / 0.83 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007871/0.7945, allocations: 2.79 MB / 0.8327 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004782/0.7993, allocations: 1.516 MB / 0.8342 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006128/0.8055, allocations: 4.657 MB / 0.8387 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/0.8077, allocations: 1.078 MB / 0.8398 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007076/0.8147, allocations: 2.257 MB / 0.842 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002985/0.8178, allocations: 1.115 MB / 0.8431 GB, free: 3.629 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004538/0.8182, allocations: 71.94 kB / 0.8432 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007221/0.8255, allocations: 3.593 MB / 0.8467 GB, free: 15.96 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000897/0.8264, allocations: 430.4 kB / 0.8471 GB, free: 15.54 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001681/0.8281, allocations: 0.7538 MB / 0.8478 GB, free: 14.78 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006987/0.8351, allocations: 3.1 MB / 0.8508 GB, free: 11.67 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.8351, allocations: 0 / 0.8508 GB, free: 11.67 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.233e-05/0.8351, allocations: 0 / 0.8508 GB, free: 11.67 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.773e-05/0.8352, allocations: 0 / 0.8508 GB, free: 11.67 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.004806/0.84, allocations: 2.011 MB / 0.8528 GB, free: 9.602 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.8401, allocations: 8.031 kB / 0.8528 GB, free: 9.594 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00308/0.8432, allocations: 0.4975 MB / 0.8533 GB, free: 9.094 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/0.8454, allocations: 1.114 MB / 0.8544 GB, free: 7.926 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008825/0.8463, allocations: 245.8 kB / 0.8546 GB, free: 7.684 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.8465, allocations: 108 kB / 0.8547 GB, free: 7.578 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/0.8489, allocations: 1.318 MB / 0.856 GB, free: 6.172 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.849, allocations: 7.938 kB / 0.856 GB, free: 6.164 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.764e-05/0.8491, allocations: 40 kB / 0.8561 GB, free: 6.125 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.144e-05/0.8491, allocations: 45.98 kB / 0.8561 GB, free: 6.078 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/0.8516, allocations: 1.081 MB / 0.8572 GB, free: 4.996 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.3254/1.177, allocations: 6.623 MB / 0.8636 GB, free: 220.6 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/1.179, allocations: 0.5681 MB / 0.8642 GB, free: 220.6 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006015/1.179, allocations: 270.2 kB / 0.8644 GB, free: 220.6 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003336/1.18, allocations: 282.4 kB / 0.8647 GB, free: 220.3 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/1.18, allocations: 40.16 kB / 0.8647 GB, free: 220.3 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.665e-06/1.18, allocations: 0 / 0.8647 GB, free: 220.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002435/1.182, allocations: 0.8605 MB / 0.8656 GB, free: 220.2 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/1.182, allocations: 58.53 kB / 0.8656 GB, free: 220.2 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001918/1.184, allocations: 1.361 MB / 0.867 GB, free: 220 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.657e-05/1.184, allocations: 37.86 kB / 0.867 GB, free: 220 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006054/1.185, allocations: 0.681 MB / 0.8677 GB, free: 219.6 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/1.185, allocations: 123.4 kB / 0.8678 GB, free: 219.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002831/1.185, allocations: 155.7 kB / 0.8679 GB, free: 219.4 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.185, allocations: 333.2 kB / 0.8683 GB, free: 219.1 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008218/1.186, allocations: 314.7 kB / 0.8686 GB, free: 219 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009279/1.187, allocations: 0.6482 MB / 0.8692 GB, free: 218.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/1.189, allocations: 0.8698 MB / 0.87 GB, free: 218 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.189, allocations: 2.594 kB / 0.87 GB, free: 218 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002251/1.191, allocations: 1.019 MB / 0.871 GB, free: 217.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/1.191, allocations: 13.12 kB / 0.8711 GB, free: 217.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/1.191, allocations: 8.688 kB / 0.8711 GB, free: 217.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-05/1.191, allocations: 14.31 kB / 0.8711 GB, free: 217.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000835/1.192, allocations: 194.5 kB / 0.8713 GB, free: 217.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-05/1.192, allocations: 28.7 kB / 0.8713 GB, free: 217.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/1.193, allocations: 214.9 kB / 0.8715 GB, free: 217.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.898e-05/1.193, allocations: 39.28 kB / 0.8715 GB, free: 217.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001188/1.195, allocations: 0.5724 MB / 0.8721 GB, free: 217.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009308/1.196, allocations: 0.6431 MB / 0.8727 GB, free: 216.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001462/1.197, allocations: 0.8776 MB / 0.8736 GB, free: 216.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.488e-06/1.197, allocations: 2.75 kB / 0.8736 GB, free: 216.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.002214/1.199, allocations: 1.01 MB / 0.8746 GB, free: 216.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/1.199, allocations: 9.969 kB / 0.8746 GB, free: 216.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.199, allocations: 15.31 kB / 0.8746 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/1.199, allocations: 11.62 kB / 0.8746 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007675/1.2, allocations: 198.8 kB / 0.8748 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/1.2, allocations: 18.41 kB / 0.8748 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/1.202, allocations: 159.9 kB / 0.875 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-05/1.202, allocations: 42.81 kB / 0.875 GB, free: 216 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.0002531/1.202, allocations: 233.1 kB / 0.8752 GB, free: 215.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/1.202, allocations: 139.3 kB / 0.8754 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/1.204, allocations: 0.6518 MB / 0.876 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/1.204, allocations: 9.188 kB / 0.876 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/1.204, allocations: 3.125 kB / 0.876 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.204, allocations: 4 kB / 0.876 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003494/1.207, allocations: 1.934 MB / 0.8779 GB, free: 214.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/1.207, allocations: 3.484 kB / 0.8779 GB, free: 214.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005123/1.208, allocations: 93.17 kB / 0.878 GB, free: 214.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/1.208, allocations: 5.156 kB / 0.878 GB, free: 214.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/1.208, allocations: 17.38 kB / 0.878 GB, free: 214.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.655e-06/1.208, allocations: 9.188 kB / 0.878 GB, free: 214.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.208, allocations: 6.828 kB / 0.878 GB, free: 214.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/1.21, allocations: 0.8189 MB / 0.8788 GB, free: 214 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005625/1.21, allocations: 300.4 kB / 0.8791 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002631/1.21, allocations: 9.594 kB / 0.8791 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/1.212, allocations: 94.25 kB / 0.8792 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.852e-05/1.212, allocations: 34.11 kB / 0.8792 GB, free: 213.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.835e-05/1.212, allocations: 30.36 kB / 0.8793 GB, free: 213.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001311/1.213, allocations: 0.981 MB / 0.8802 GB, free: 213.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.61e-07/1.213, allocations: 0 / 0.8802 GB, free: 213.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001733/1.215, allocations: 0.5693 MB / 0.8808 GB, free: 213.3 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.0005737/1.215, allocations: 273.6 kB / 0.881 GB, free: 213.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002693/1.218, allocations: 1.104 MB / 0.8821 GB, free: 212.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.218, allocations: 3.75 kB / 0.8821 GB, free: 212.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006294/1.219, allocations: 266.9 kB / 0.8824 GB, free: 212.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003625/1.222, allocations: 0.7518 MB / 0.8831 GB, free: 212.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004773/1.227, allocations: 2.68 MB / 0.8857 GB, free: 211 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/1.228, allocations: 1.19 MB / 0.8869 GB, free: 210.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001763/1.23, allocations: 369.7 kB / 0.8872 GB, free: 210.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/1.23, allocations: 92.89 kB / 0.8873 GB, free: 210.2 MB / 0.67 GB Notification: Performance of SimCode: time 9.32e-07/1.23, allocations: 2.625 kB / 0.8873 GB, free: 210.2 MB / 0.67 GB Notification: Performance of Templates: time 0.0521/1.282, allocations: 24.03 MB / 0.9108 GB, free: 206.6 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)