Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001167/0.001167, allocations: 114 kB / 16.42 MB, free: 6.402 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.001273/0.001273, allocations: 183.9 kB / 17.35 MB, free: 5.719 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.212/1.212, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7156/0.7156, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 67.19 kB / 0.5863 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1182, allocations: 80.93 MB / 0.6653 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02544/0.1436, allocations: 29.34 MB / 0.694 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008754/0.1524, allocations: 6.872 MB / 0.7007 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008513/0.1533, allocations: 47.69 kB / 0.7007 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.1547, allocations: 0.6992 MB / 0.7014 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002873/0.1576, allocations: 1.513 MB / 0.7029 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002334/0.1599, allocations: 1.159 MB / 0.704 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002599/0.1625, allocations: 2.481 MB / 0.7065 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.1636, allocations: 0.8019 MB / 0.7072 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.1652, allocations: 1.043 MB / 0.7083 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.1663, allocations: 0.8208 MB / 0.7091 GB, free: 8.812 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001841/0.1665, allocations: 67.94 kB / 0.7091 GB, free: 8.746 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.168, allocations: 0.8187 MB / 0.7099 GB, free: 7.926 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.1683, allocations: 271 kB / 0.7102 GB, free: 7.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005628/0.1689, allocations: 0.5514 MB / 0.7107 GB, free: 7.105 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001922/0.1708, allocations: 1.631 MB / 0.7123 GB, free: 5.469 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1709, allocations: 4 kB / 0.7123 GB, free: 5.465 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1709, allocations: 4 kB / 0.7123 GB, free: 5.461 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.31e-05/0.1709, allocations: 0 / 0.7123 GB, free: 5.461 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.00255/0.1735, allocations: 1.57 MB / 0.7139 GB, free: 3.836 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1735, allocations: 9.109 kB / 0.7139 GB, free: 3.828 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003289/0.1768, allocations: 0.5884 MB / 0.7144 GB, free: 3.238 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.1781, allocations: 0.8715 MB / 0.7153 GB, free: 2.312 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/0.1782, allocations: 58 kB / 0.7153 GB, free: 2.254 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.1783, allocations: 71.98 kB / 0.7154 GB, free: 2.184 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/0.1806, allocations: 1.099 MB / 0.7165 GB, free: 1.004 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.1807, allocations: 7.984 kB / 0.7165 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.082e-05/0.1807, allocations: 28 kB / 0.7165 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.1808, allocations: 16 kB / 0.7165 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/0.1836, allocations: 1.004 MB / 0.7175 GB, free: 15.95 MB / 0.5606 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.005061/0.1887, allocations: 4.947 MB / 0.7223 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002747/0.1915, allocations: 0.9119 MB / 0.7232 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/0.1929, allocations: 486.2 kB / 0.7237 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/0.1941, allocations: 1.584 MB / 0.7253 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001563/0.1956, allocations: 0.5768 MB / 0.7258 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 3.707e-06/0.1957, allocations: 7.984 kB / 0.7258 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.004544/0.2002, allocations: 1.477 MB / 0.7273 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.2003, allocations: 63.95 kB / 0.7273 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.2014, allocations: 1.116 MB / 0.7284 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.462e-05/0.2014, allocations: 37.7 kB / 0.7285 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003714/0.2018, allocations: 0.5472 MB / 0.729 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.202, allocations: 201.2 kB / 0.7292 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.2022, allocations: 170.4 kB / 0.7293 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2023, allocations: 337.9 kB / 0.7297 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.2037, allocations: 457.6 kB / 0.7301 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/0.2053, allocations: 0.7128 MB / 0.7308 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002835/0.2081, allocations: 1.12 MB / 0.7319 GB, free: 296 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.2082, allocations: 7.875 kB / 0.7319 GB, free: 288 kB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003332/0.2115, allocations: 1.266 MB / 0.7331 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.2115, allocations: 10.03 kB / 0.7331 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.2115, allocations: 8 kB / 0.7331 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.2116, allocations: 12.81 kB / 0.7332 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.2127, allocations: 275.7 kB / 0.7334 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/0.2128, allocations: 23.86 kB / 0.7334 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.2138, allocations: 178.9 kB / 0.7336 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-05/0.2139, allocations: 47.98 kB / 0.7337 GB, free: 14.46 MB / 0.5762 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.0003876/0.2143, allocations: 291.7 kB / 0.7339 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.2145, allocations: 118.5 kB / 0.7341 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00355/0.218, allocations: 1.359 MB / 0.7354 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.2181, allocations: 3.984 kB / 0.7354 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2181, allocations: 0 / 0.7354 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003758/0.2185, allocations: 275.3 kB / 0.7356 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.2186, allocations: 16 kB / 0.7357 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008705/0.2195, allocations: 107.8 kB / 0.7358 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-05/0.2196, allocations: 52.44 kB / 0.7358 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003952/0.2236, allocations: 1.339 MB / 0.7371 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004868/0.2284, allocations: 2.031 MB / 0.7391 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001444/0.2299, allocations: 0.5432 MB / 0.7396 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008/0.2307, allocations: 0.7599 MB / 0.7404 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of Backend: time 2.41e-07/0.2307, allocations: 4 kB / 0.7404 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003581/0.2343, allocations: 1.346 MB / 0.7417 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003505/0.2378, allocations: 2.551 MB / 0.7442 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of Templates: time 0.2629/0.5007, allocations: 21.79 MB / 0.7655 GB, free: 74.41 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)