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.001491/0.001491, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001512/0.001513, allocations: 191 kB / 17.29 MB, free: 5.516 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7802/0.7802, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.89 kB / 0.5067 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3147, allocations: 80.91 MB / 0.5857 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.5207/0.8355, allocations: 237.5 MB / 0.8177 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01847/0.854, allocations: 15.77 MB / 0.8331 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002428/0.8564, allocations: 63.44 kB / 0.8332 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002697/0.8592, allocations: 1.036 MB / 0.8342 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007365/0.8666, allocations: 2.967 MB / 0.8371 GB, free: 240 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004452/0.8711, allocations: 1.697 MB / 0.8387 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005104/0.8762, allocations: 3.441 MB / 0.8421 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002313/0.8785, allocations: 1.304 MB / 0.8434 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006368/0.8849, allocations: 2.488 MB / 0.8458 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002572/0.8875, allocations: 1.073 MB / 0.8468 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004227/0.8879, allocations: 124.2 kB / 0.847 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006708/0.8947, allocations: 3.091 MB / 0.85 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007492/0.8954, allocations: 487.5 kB / 0.8504 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001577/0.897, allocations: 0.8089 MB / 0.8512 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005816/0.9028, allocations: 2.984 MB / 0.8541 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.9029, allocations: 0 / 0.8541 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9029, allocations: 2.969 kB / 0.8542 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.035e-05/0.9029, allocations: 0 / 0.8542 GB, free: 8.867 MB / 0.5919 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.004188/0.9071, allocations: 1.995 MB / 0.8561 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.9072, allocations: 13.11 kB / 0.8561 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002938/0.9101, allocations: 0.5005 MB / 0.8566 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002644/0.9128, allocations: 1.173 MB / 0.8577 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.923e-05/0.9129, allocations: 81.98 kB / 0.8578 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.9131, allocations: 102.8 kB / 0.8579 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/0.9155, allocations: 1.361 MB / 0.8593 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.9156, allocations: 2.531 kB / 0.8593 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.9157, allocations: 44 kB / 0.8593 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-05/0.9157, allocations: 49.98 kB / 0.8593 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002414/0.9182, allocations: 1.047 MB / 0.8604 GB, free: 2.578 MB / 0.5919 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.00827/0.9264, allocations: 7.4 MB / 0.8676 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.9279, allocations: 0.534 MB / 0.8681 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005905/0.9286, allocations: 263.8 kB / 0.8684 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003833/0.9289, allocations: 282.8 kB / 0.8686 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.929, allocations: 42.84 kB / 0.8687 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 2.294e-06/0.929, allocations: 0 / 0.8687 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.00235/0.9314, allocations: 0.8348 MB / 0.8695 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.9314, allocations: 55.41 kB / 0.8695 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/0.9333, allocations: 1.395 MB / 0.8709 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.644e-05/0.9334, allocations: 33.7 kB / 0.8709 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000541/0.934, allocations: 0.6977 MB / 0.8716 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.9341, allocations: 126.5 kB / 0.8717 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/0.9344, allocations: 170.4 kB / 0.8719 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.9345, allocations: 334 kB / 0.8722 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007853/0.9353, allocations: 320.6 kB / 0.8725 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.9364, allocations: 0.7102 MB / 0.8732 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.938, allocations: 0.9538 MB / 0.8742 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.938, allocations: 4 kB / 0.8742 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002294/0.9403, allocations: 1.066 MB / 0.8752 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.9403, allocations: 8 kB / 0.8752 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.9404, allocations: 12 kB / 0.8752 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.9404, allocations: 20.06 kB / 0.8752 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008341/0.9412, allocations: 204.6 kB / 0.8754 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.49e-05/0.9413, allocations: 25.05 kB / 0.8755 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.9426, allocations: 188.1 kB / 0.8756 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/0.9427, allocations: 43.98 kB / 0.8757 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001125/0.9438, allocations: 0.573 MB / 0.8762 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001043/0.9449, allocations: 0.707 MB / 0.8769 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001635/0.9465, allocations: 0.9417 MB / 0.8778 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.434e-06/0.9465, allocations: 4 kB / 0.8779 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002306/0.9489, allocations: 1.068 MB / 0.8789 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.9489, allocations: 12 kB / 0.8789 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.9489, allocations: 12 kB / 0.8789 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.9489, allocations: 16 kB / 0.8789 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008174/0.9498, allocations: 216.1 kB / 0.8791 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.72e-05/0.9498, allocations: 29.17 kB / 0.8792 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.9511, allocations: 131.4 kB / 0.8793 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.631e-05/0.9512, allocations: 43.98 kB / 0.8793 GB, free: 14.24 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (91): * Single equations (assignments): 91 * 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.0002251/0.9514, allocations: 245.2 kB / 0.8796 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.9516, allocations: 134.3 kB / 0.8797 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/0.9532, allocations: 0.6468 MB / 0.8803 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.9532, allocations: 4 kB / 0.8803 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.9532, allocations: 192 / 0.8803 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.9532, allocations: 7.984 kB / 0.8803 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003495/0.9567, allocations: 1.887 MB / 0.8822 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.9567, allocations: 8.25 kB / 0.8822 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004795/0.9572, allocations: 93.17 kB / 0.8823 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.9572, allocations: 4 kB / 0.8823 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/0.9573, allocations: 12 kB / 0.8823 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/0.9573, allocations: 10.61 kB / 0.8823 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.9573, allocations: 4 kB / 0.8823 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.9588, allocations: 0.8008 MB / 0.8831 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005711/0.9594, allocations: 295.1 kB / 0.8834 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002399/0.9596, allocations: 12 kB / 0.8834 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009939/0.9606, allocations: 71.92 kB / 0.8834 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.068e-05/0.9607, allocations: 34.52 kB / 0.8835 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.639e-05/0.9608, allocations: 19.98 kB / 0.8835 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001516/0.9623, allocations: 1.005 MB / 0.8845 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9623, allocations: 0 / 0.8845 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001834/0.9642, allocations: 0.5774 MB / 0.885 GB, free: 8.23 MB / 0.6231 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.0005842/0.9648, allocations: 267.9 kB / 0.8853 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002677/0.9674, allocations: 1.147 MB / 0.8864 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.9675, allocations: 0 / 0.8864 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006606/0.9681, allocations: 260.3 kB / 0.8867 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0031/0.9712, allocations: 0.7416 MB / 0.8874 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.9759, allocations: 2.243 MB / 0.8896 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007864/0.9767, allocations: 1.186 MB / 0.8907 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001323/0.978, allocations: 383.8 kB / 0.8911 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/0.9783, allocations: 95.42 kB / 0.8912 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of SimCode: time 1.382e-06/0.9783, allocations: 0 / 0.8912 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of Templates: time 0.04137/1.02, allocations: 24.97 MB / 0.9156 GB, free: 9.375 MB / 0.6544 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)