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.001126/0.001126, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001322/0.001322, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9565/0.9565, allocations: 135.3 MB / 426.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003712, allocations: 15.98 kB / 0.507 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1822, allocations: 82.29 MB / 0.5874 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3521/0.5343, allocations: 26.91 MB / 0.6136 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008305/0.5427, allocations: 6.484 MB / 0.62 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.5442, allocations: 42.75 kB / 0.62 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.5457, allocations: 0.5552 MB / 0.6206 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003254/0.549, allocations: 1.186 MB / 0.6217 GB, free: 33.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.5516, allocations: 0.9328 MB / 0.6226 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002938/0.5546, allocations: 2.766 MB / 0.6253 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009807/0.5556, allocations: 0.6498 MB / 0.626 GB, free: 32.88 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001633/0.5572, allocations: 0.8875 MB / 0.6268 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009749/0.5582, allocations: 0.755 MB / 0.6276 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.978e-05/0.5583, allocations: 37.66 kB / 0.6276 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.5599, allocations: 498.2 kB / 0.6281 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002373/0.5601, allocations: 242.9 kB / 0.6283 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.5604, allocations: 230.8 kB / 0.6285 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.5616, allocations: 1.018 MB / 0.6295 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.5616, allocations: 2.344 kB / 0.6295 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.724e-06/0.5616, allocations: 0 / 0.6295 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.5616, allocations: 4 kB / 0.6295 GB, free: 31.75 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.002068/0.5637, allocations: 1.382 MB / 0.6309 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.5637, allocations: 11.03 kB / 0.6309 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002894/0.5666, allocations: 0.6259 MB / 0.6315 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.5677, allocations: 0.7641 MB / 0.6322 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/0.5678, allocations: 57.81 kB / 0.6323 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.5679, allocations: 71.08 kB / 0.6324 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/0.57, allocations: 1.111 MB / 0.6334 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.57, allocations: 2.906 kB / 0.6335 GB, free: 29.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.905e-05/0.5701, allocations: 26.47 kB / 0.6335 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.5701, allocations: 20.08 kB / 0.6335 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002467/0.5726, allocations: 1.019 MB / 0.6345 GB, free: 29.44 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.004496/0.5771, allocations: 4.984 MB / 0.6394 GB, free: 25.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/0.5795, allocations: 0.953 MB / 0.6403 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.5808, allocations: 499.1 kB / 0.6408 GB, free: 25.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/0.5818, allocations: 1.606 MB / 0.6423 GB, free: 23.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001356/0.5832, allocations: 0.5783 MB / 0.6429 GB, free: 23.24 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 2.655e-06/0.5832, allocations: 0 / 0.6429 GB, free: 23.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.00391/0.5871, allocations: 1.518 MB / 0.6444 GB, free: 22.81 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.5872, allocations: 60.55 kB / 0.6444 GB, free: 22.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.5884, allocations: 1.106 MB / 0.6455 GB, free: 22.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.848e-05/0.5885, allocations: 40.3 kB / 0.6456 GB, free: 22.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/0.5889, allocations: 0.5428 MB / 0.6461 GB, free: 21.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.5891, allocations: 213.9 kB / 0.6463 GB, free: 21.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.5891, allocations: 18.47 kB / 0.6463 GB, free: 21.69 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.928e-05/0.5892, allocations: 334.5 kB / 0.6466 GB, free: 21.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/0.5904, allocations: 464.3 kB / 0.6471 GB, free: 21.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.5917, allocations: 0.7188 MB / 0.6478 GB, free: 20.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.5931, allocations: 0.4888 MB / 0.6483 GB, free: 20.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.5931, allocations: 2.062 kB / 0.6483 GB, free: 20.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003613/0.5968, allocations: 1.293 MB / 0.6495 GB, free: 20.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.5968, allocations: 9.562 kB / 0.6495 GB, free: 20.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.5968, allocations: 7.75 kB / 0.6495 GB, free: 20.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.514e-05/0.5969, allocations: 13.66 kB / 0.6495 GB, free: 20.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.5981, allocations: 282.1 kB / 0.6498 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.471e-05/0.5981, allocations: 12.28 kB / 0.6498 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.5993, allocations: 202.2 kB / 0.65 GB, free: 20.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.5994, allocations: 52.11 kB / 0.6501 GB, free: 20.15 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004982/0.6, allocations: 294.3 kB / 0.6503 GB, free: 19.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.6002, allocations: 118.7 kB / 0.6505 GB, free: 19.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004112/0.6043, allocations: 1.378 MB / 0.6518 GB, free: 19.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.566e-05/0.6043, allocations: 10.33 kB / 0.6518 GB, free: 19.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6043, allocations: 0 / 0.6518 GB, free: 19.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.6044, allocations: 3.656 kB / 0.6518 GB, free: 19.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006114/0.6105, allocations: 2.393 MB / 0.6542 GB, free: 18.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.6105, allocations: 5.375 kB / 0.6542 GB, free: 18.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.6116, allocations: 193.7 kB / 0.6543 GB, free: 18.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-05/0.6116, allocations: 5.062 kB / 0.6544 GB, free: 18.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.349e-05/0.6117, allocations: 29.66 kB / 0.6544 GB, free: 18.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-05/0.6117, allocations: 6.25 kB / 0.6544 GB, free: 18.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.6117, allocations: 1.828 kB / 0.6544 GB, free: 18.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005265/0.617, allocations: 2.007 MB / 0.6563 GB, free: 17.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006616/0.6177, allocations: 283.9 kB / 0.6566 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.6179, allocations: 19.11 kB / 0.6566 GB, free: 17.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009153/0.6188, allocations: 130.1 kB / 0.6568 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.619, allocations: 49.19 kB / 0.6568 GB, free: 17.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.309e-05/0.6191, allocations: 33.8 kB / 0.6568 GB, free: 17.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00132/0.6204, allocations: 0.7603 MB / 0.6576 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6204, allocations: 3.938 kB / 0.6576 GB, free: 17.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001363/0.6218, allocations: 338.9 kB / 0.6579 GB, free: 17.07 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001614/0.6234, allocations: 0.6558 MB / 0.6586 GB, free: 16.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003517/0.6269, allocations: 1.124 MB / 0.6596 GB, free: 16.53 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.371e-06/0.6269, allocations: 0 / 0.6596 GB, free: 16.53 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001673/0.6286, allocations: 0.5866 MB / 0.6602 GB, free: 16.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/0.6309, allocations: 429.8 kB / 0.6606 GB, free: 16.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005375/0.6363, allocations: 2.697 MB / 0.6633 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000884/0.6372, allocations: 1.106 MB / 0.6643 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001482/0.6387, allocations: 248 kB / 0.6646 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/0.6391, allocations: 103.4 kB / 0.6647 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of SimCode: time 1.263e-06/0.6391, allocations: 0 / 0.6647 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.04148/0.6806, allocations: 18.44 MB / 0.6827 GB, free: 7.781 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)