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.001101/0.001101, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 193.2 kB / 16.53 MB, free: 6.664 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.429/1.429, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.008/1.008, allocations: 135.1 MB / 425.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 64.86 kB / 0.5053 GB, free: 5.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1865, allocations: 80.93 MB / 0.5844 GB, free: 4.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3522/0.5387, allocations: 29.32 MB / 0.613 GB, free: 35.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009688/0.5485, allocations: 6.879 MB / 0.6197 GB, free: 35.01 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.5497, allocations: 47.78 kB / 0.6198 GB, free: 34.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.5512, allocations: 0.6854 MB / 0.6204 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003396/0.5546, allocations: 1.459 MB / 0.6219 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.5573, allocations: 1.151 MB / 0.623 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002579/0.5599, allocations: 2.471 MB / 0.6254 GB, free: 32.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009567/0.5608, allocations: 0.7945 MB / 0.6262 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.5623, allocations: 1.009 MB / 0.6272 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007942/0.5631, allocations: 0.8075 MB / 0.6279 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.5632, allocations: 66.09 kB / 0.628 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.565, allocations: 0.8163 MB / 0.6288 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002179/0.5652, allocations: 275.6 kB / 0.6291 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004289/0.5656, allocations: 0.5547 MB / 0.6296 GB, free: 30.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.5674, allocations: 1.61 MB / 0.6312 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5674, allocations: 0 / 0.6312 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5674, allocations: 0 / 0.6312 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.5674, allocations: 4 kB / 0.6312 GB, free: 29.7 MB / 0.4981 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.002224/0.5697, allocations: 1.561 MB / 0.6327 GB, free: 28.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.5697, allocations: 9.344 kB / 0.6327 GB, free: 28.64 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003354/0.5731, allocations: 0.592 MB / 0.6333 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.5741, allocations: 0.8012 MB / 0.6341 GB, free: 28.04 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/0.5742, allocations: 60.41 kB / 0.6341 GB, free: 28 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.5743, allocations: 73.31 kB / 0.6342 GB, free: 27.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.5765, allocations: 1.102 MB / 0.6353 GB, free: 27.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.5765, allocations: 7.219 kB / 0.6353 GB, free: 27.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.48e-05/0.5766, allocations: 30 kB / 0.6353 GB, free: 27.44 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.5766, allocations: 18.97 kB / 0.6353 GB, free: 27.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002781/0.5794, allocations: 0.9976 MB / 0.6363 GB, free: 27.18 MB / 0.4981 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.004542/0.5839, allocations: 4.952 MB / 0.6411 GB, free: 23.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002734/0.5867, allocations: 0.9015 MB / 0.642 GB, free: 23.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.588, allocations: 492.2 kB / 0.6425 GB, free: 22.94 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.5891, allocations: 1.587 MB / 0.644 GB, free: 21.13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001505/0.5906, allocations: 0.5785 MB / 0.6446 GB, free: 20.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 2.775e-06/0.5906, allocations: 7.938 kB / 0.6446 GB, free: 20.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.00442/0.595, allocations: 1.475 MB / 0.6461 GB, free: 20.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.5951, allocations: 60.33 kB / 0.6461 GB, free: 20.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.5963, allocations: 1.121 MB / 0.6472 GB, free: 20.04 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.578e-05/0.5964, allocations: 38.73 kB / 0.6472 GB, free: 20 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/0.5968, allocations: 0.5451 MB / 0.6478 GB, free: 19.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.5969, allocations: 205.6 kB / 0.648 GB, free: 19.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/0.5972, allocations: 165.5 kB / 0.6481 GB, free: 19.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.11e-05/0.5973, allocations: 335.8 kB / 0.6485 GB, free: 19.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.5987, allocations: 461.7 kB / 0.6489 GB, free: 18.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/0.6004, allocations: 0.7129 MB / 0.6496 GB, free: 18.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0032/0.6036, allocations: 1.117 MB / 0.6507 GB, free: 17.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.6036, allocations: 2.594 kB / 0.6507 GB, free: 17.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004002/0.6076, allocations: 1.267 MB / 0.6519 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.6077, allocations: 8.469 kB / 0.6519 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.6077, allocations: 9.438 kB / 0.6519 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.337e-05/0.6077, allocations: 11.67 kB / 0.6519 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.6091, allocations: 279.5 kB / 0.6522 GB, free: 17.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.171e-05/0.6091, allocations: 12.67 kB / 0.6522 GB, free: 17.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.6105, allocations: 188.9 kB / 0.6524 GB, free: 17.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.6106, allocations: 44.45 kB / 0.6525 GB, free: 17.34 MB / 0.4981 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.0005623/0.6112, allocations: 291.8 kB / 0.6527 GB, free: 17.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/0.6115, allocations: 123.7 kB / 0.6528 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004137/0.6156, allocations: 1.357 MB / 0.6542 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-05/0.6157, allocations: 13.8 kB / 0.6542 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.6157, allocations: 0 / 0.6542 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.6157, allocations: 4.078 kB / 0.6542 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005429/0.6211, allocations: 2.378 MB / 0.6565 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.6212, allocations: 2.172 kB / 0.6565 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.6223, allocations: 194 kB / 0.6567 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.495e-05/0.6223, allocations: 5.031 kB / 0.6567 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-05/0.6224, allocations: 24.53 kB / 0.6567 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/0.6224, allocations: 6.969 kB / 0.6567 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.6224, allocations: 6.156 kB / 0.6567 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005534/0.6279, allocations: 1.976 MB / 0.6587 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005939/0.6285, allocations: 274.8 kB / 0.6589 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002719/0.6288, allocations: 22.73 kB / 0.659 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.6299, allocations: 107 kB / 0.6591 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.6301, allocations: 53.2 kB / 0.6591 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.691e-05/0.6302, allocations: 37.05 kB / 0.6591 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001277/0.6314, allocations: 0.7636 MB / 0.6599 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6314, allocations: 1.469 kB / 0.6599 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001568/0.633, allocations: 346.2 kB / 0.6602 GB, free: 14.22 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * 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.001621/0.6347, allocations: 0.6567 MB / 0.6609 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004006/0.6387, allocations: 1.187 MB / 0.662 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.6387, allocations: 0 / 0.662 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00173/0.6404, allocations: 0.5729 MB / 0.6626 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/0.6429, allocations: 449.3 kB / 0.663 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00578/0.6487, allocations: 2.36 MB / 0.6653 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.6497, allocations: 1.106 MB / 0.6664 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001451/0.6512, allocations: 259.8 kB / 0.6666 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004185/0.6516, allocations: 108.6 kB / 0.6667 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of SimCode: time 2.765e-06/0.6516, allocations: 0 / 0.6667 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of Templates: time 0.04204/0.6937, allocations: 19.89 MB / 0.6862 GB, free: 4.031 MB / 0.4981 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)