Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 112.2 kB / 16.42 MB, free: 6.445 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.001637/0.001637, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7794/0.7794, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 58.59 kB / 0.582 GB, free: 23.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1283, allocations: 80.22 MB / 0.6604 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02729/0.1556, allocations: 29.33 MB / 0.689 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009708/0.1654, allocations: 6.878 MB / 0.6957 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.1665, allocations: 43.69 kB / 0.6958 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.1681, allocations: 0.7031 MB / 0.6965 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003555/0.1717, allocations: 1.512 MB / 0.6979 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002681/0.1744, allocations: 1.15 MB / 0.6991 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002832/0.1772, allocations: 2.493 MB / 0.7015 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009525/0.1782, allocations: 0.802 MB / 0.7023 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.1797, allocations: 1.035 MB / 0.7033 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000945/0.1807, allocations: 0.8247 MB / 0.7041 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.1808, allocations: 68 kB / 0.7042 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.1825, allocations: 0.8188 MB / 0.705 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002923/0.1828, allocations: 278.9 kB / 0.7052 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005089/0.1833, allocations: 0.5514 MB / 0.7058 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.1852, allocations: 1.628 MB / 0.7074 GB, free: 9.941 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1853, allocations: 0 / 0.7074 GB, free: 9.941 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.82e-07/0.1853, allocations: 0 / 0.7074 GB, free: 9.941 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.1853, allocations: 0 / 0.7074 GB, free: 9.941 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002529/0.1878, allocations: 1.574 MB / 0.7089 GB, free: 8.312 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1879, allocations: 8.031 kB / 0.7089 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003624/0.1915, allocations: 0.5923 MB / 0.7095 GB, free: 7.711 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.1929, allocations: 0.8676 MB / 0.7103 GB, free: 6.789 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.608e-05/0.193, allocations: 62 kB / 0.7104 GB, free: 6.727 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.1932, allocations: 75.94 kB / 0.7105 GB, free: 6.652 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/0.1957, allocations: 1.092 MB / 0.7115 GB, free: 5.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.1957, allocations: 3.938 kB / 0.7115 GB, free: 5.477 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.628e-05/0.1958, allocations: 39.98 kB / 0.7116 GB, free: 5.438 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.1958, allocations: 20 kB / 0.7116 GB, free: 5.418 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003158/0.199, allocations: 0.9923 MB / 0.7126 GB, free: 4.426 MB / 0.545 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.005512/0.2045, allocations: 4.943 MB / 0.7174 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003053/0.2076, allocations: 0.9029 MB / 0.7183 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.2091, allocations: 492.9 kB / 0.7187 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/0.2104, allocations: 1.588 MB / 0.7203 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001699/0.2121, allocations: 0.5728 MB / 0.7208 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 3.357e-06/0.2121, allocations: 0 / 0.7208 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.004919/0.217, allocations: 1.485 MB / 0.7223 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.2171, allocations: 59.91 kB / 0.7223 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.2183, allocations: 1.116 MB / 0.7234 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.729e-05/0.2184, allocations: 37.7 kB / 0.7235 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004225/0.2188, allocations: 0.5472 MB / 0.724 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.219, allocations: 209.1 kB / 0.7242 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003068/0.2193, allocations: 162.5 kB / 0.7244 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2194, allocations: 345.9 kB / 0.7247 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.2209, allocations: 453.6 kB / 0.7251 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/0.2226, allocations: 0.7125 MB / 0.7258 GB, free: 6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003129/0.2258, allocations: 1.12 MB / 0.7269 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.2258, allocations: 7.938 kB / 0.7269 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003614/0.2294, allocations: 1.271 MB / 0.7282 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2295, allocations: 8 kB / 0.7282 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.2295, allocations: 8 kB / 0.7282 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.2295, allocations: 12 kB / 0.7282 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.2308, allocations: 267.7 kB / 0.7284 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-05/0.2308, allocations: 15.94 kB / 0.7285 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.2319, allocations: 182.9 kB / 0.7286 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.975e-05/0.232, allocations: 47.97 kB / 0.7287 GB, free: 2.957 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * 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.0004356/0.2325, allocations: 301.9 kB / 0.729 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.2326, allocations: 122.5 kB / 0.7291 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003821/0.2365, allocations: 1.357 MB / 0.7304 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.2365, allocations: 4 kB / 0.7304 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.2365, allocations: 0 / 0.7304 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/0.2369, allocations: 279.3 kB / 0.7307 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.2371, allocations: 12 kB / 0.7307 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009106/0.238, allocations: 103.9 kB / 0.7308 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.453e-05/0.2381, allocations: 48.44 kB / 0.7308 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004195/0.2423, allocations: 1.339 MB / 0.7321 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005143/0.2474, allocations: 2.031 MB / 0.7341 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001562/0.249, allocations: 0.547 MB / 0.7347 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008564/0.2499, allocations: 0.7638 MB / 0.7354 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of Backend: time 3.81e-07/0.2499, allocations: 0 / 0.7354 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003755/0.2536, allocations: 1.351 MB / 0.7367 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003556/0.2572, allocations: 2.556 MB / 0.7392 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of Templates: time 0.2964/0.5536, allocations: 21.78 MB / 0.7605 GB, free: 45.51 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)