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.001498/0.001498, allocations: 104.7 kB / 15.99 MB, free: 6.355 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.001508/0.001508, allocations: 195.5 kB / 16.91 MB, free: 6.195 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8317/0.8317, allocations: 135.2 MB / 425.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.88 kB / 0.5055 GB, free: 8.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4659/0.4679, allocations: 80.92 MB / 0.5846 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02319/0.4912, allocations: 29.11 MB / 0.613 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01172/0.503, allocations: 6.839 MB / 0.6197 GB, free: 6.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/0.505, allocations: 51.62 kB / 0.6197 GB, free: 6.68 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002068/0.5071, allocations: 0.6066 MB / 0.6203 GB, free: 6.07 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005037/0.5122, allocations: 1.357 MB / 0.6216 GB, free: 4.707 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004163/0.5163, allocations: 1.052 MB / 0.6227 GB, free: 3.664 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004635/0.521, allocations: 2.492 MB / 0.6251 GB, free: 1.16 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.5223, allocations: 0.8039 MB / 0.6259 GB, free: 356 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002157/0.5245, allocations: 1.027 MB / 0.6269 GB, free: 15.32 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.5257, allocations: 0.8481 MB / 0.6277 GB, free: 14.46 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.5258, allocations: 68 kB / 0.6278 GB, free: 14.4 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.5279, allocations: 0.8303 MB / 0.6286 GB, free: 13.57 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000382/0.5283, allocations: 290.9 kB / 0.6289 GB, free: 13.28 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008049/0.5291, allocations: 0.5515 MB / 0.6294 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001819/0.531, allocations: 1.169 MB / 0.6306 GB, free: 11.55 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.531, allocations: 0 / 0.6306 GB, free: 11.55 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.531, allocations: 0 / 0.6306 GB, free: 11.55 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.531, allocations: 0 / 0.6306 GB, free: 11.55 MB / 478.1 MB 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.002853/0.5339, allocations: 1.57 MB / 0.6321 GB, free: 9.93 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.5339, allocations: 13.11 kB / 0.6321 GB, free: 9.918 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003552/0.5375, allocations: 0.5885 MB / 0.6327 GB, free: 9.328 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.5389, allocations: 0.8053 MB / 0.6335 GB, free: 8.469 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.418e-05/0.539, allocations: 58 kB / 0.6335 GB, free: 8.41 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.5391, allocations: 75.91 kB / 0.6336 GB, free: 8.336 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/0.5417, allocations: 1.096 MB / 0.6347 GB, free: 7.164 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.5417, allocations: 7.938 kB / 0.6347 GB, free: 7.156 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-05/0.5418, allocations: 32 kB / 0.6347 GB, free: 7.125 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.5419, allocations: 16 kB / 0.6347 GB, free: 7.109 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002984/0.5448, allocations: 1 MB / 0.6357 GB, free: 6.105 MB / 478.1 MB 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.006313/0.5512, allocations: 4.939 MB / 0.6405 GB, free: 0.875 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002967/0.5542, allocations: 0.9044 MB / 0.6414 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.5556, allocations: 497.2 kB / 0.6419 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00165/0.5573, allocations: 1.587 MB / 0.6434 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001684/0.559, allocations: 0.5728 MB / 0.644 GB, free: 12.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=61): time 3.436e-06/0.559, allocations: 0 / 0.644 GB, free: 12.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=61): time 0.004859/0.5638, allocations: 1.481 MB / 0.6454 GB, free: 11.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.5639, allocations: 59.97 kB / 0.6455 GB, free: 11.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.5655, allocations: 1.116 MB / 0.6466 GB, free: 10.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.825e-05/0.5656, allocations: 45.64 kB / 0.6466 GB, free: 10.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005192/0.5661, allocations: 0.5473 MB / 0.6471 GB, free: 9.656 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/0.5664, allocations: 205.1 kB / 0.6473 GB, free: 9.453 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/0.5666, allocations: 162.5 kB / 0.6475 GB, free: 9.289 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.5668, allocations: 337.9 kB / 0.6478 GB, free: 8.953 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.5682, allocations: 453.6 kB / 0.6483 GB, free: 8.512 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.5699, allocations: 0.7166 MB / 0.649 GB, free: 7.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003011/0.5729, allocations: 1.113 MB / 0.65 GB, free: 6.465 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.573, allocations: 7.938 kB / 0.65 GB, free: 6.457 MB / 494.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003731/0.5767, allocations: 1.267 MB / 0.6513 GB, free: 5.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.5767, allocations: 8 kB / 0.6513 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.5768, allocations: 12.12 kB / 0.6513 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.31e-05/0.5768, allocations: 15.98 kB / 0.6513 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.578, allocations: 271.6 kB / 0.6516 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.123e-05/0.5781, allocations: 15.94 kB / 0.6516 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.5794, allocations: 202.9 kB / 0.6518 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.5795, allocations: 43.97 kB / 0.6518 GB, free: 4.621 MB / 494.1 MB 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.0005502/0.5801, allocations: 295.7 kB / 0.6521 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002217/0.5803, allocations: 126.5 kB / 0.6522 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003901/0.5842, allocations: 1.355 MB / 0.6536 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/0.5842, allocations: 8 kB / 0.6536 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.5843, allocations: 8 kB / 0.6536 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.5843, allocations: 3.984 kB / 0.6536 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00527/0.5896, allocations: 2.366 MB / 0.6559 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.5896, allocations: 3.938 kB / 0.6559 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.5907, allocations: 191.9 kB / 0.6561 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/0.5907, allocations: 4 kB / 0.6561 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.917e-05/0.5907, allocations: 23.97 kB / 0.6561 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/0.5908, allocations: 15.86 kB / 0.6561 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.5908, allocations: 4 kB / 0.6561 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005324/0.5961, allocations: 1.977 MB / 0.658 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005726/0.5967, allocations: 275.3 kB / 0.6583 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.5969, allocations: 20 kB / 0.6583 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009742/0.5978, allocations: 123.7 kB / 0.6584 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.598, allocations: 52.44 kB / 0.6585 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.391e-05/0.5981, allocations: 31.97 kB / 0.6585 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001085/0.5992, allocations: 0.7677 MB / 0.6593 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.3e-07/0.5992, allocations: 0 / 0.6593 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001172/0.6004, allocations: 335.6 kB / 0.6596 GB, free: 12.52 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.002138/0.6025, allocations: 0.6644 MB / 0.6602 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003794/0.6063, allocations: 1.181 MB / 0.6614 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.6063, allocations: 0 / 0.6614 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001673/0.608, allocations: 0.5697 MB / 0.662 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/0.6102, allocations: 456.5 kB / 0.6624 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005504/0.6158, allocations: 2.789 MB / 0.6651 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007733/0.6166, allocations: 1.096 MB / 0.6662 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004584/0.617, allocations: 123.4 kB / 0.6663 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of SimCode: time 7.22e-07/0.617, allocations: 0 / 0.6663 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of Templates: time 0.03149/0.6485, allocations: 19.03 MB / 0.6849 GB, free: 2.891 MB / 0.5137 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)