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.0009105/0.0009106, allocations: 100 kB / 15.05 MB, free: 1.105 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.0008708/0.0008708, allocations: 177.3 kB / 15.95 MB, free: 216 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.19/1.19, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8601/0.8601, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003138, allocations: 14.97 kB / 0.5068 GB, free: 5.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1601, allocations: 82.31 MB / 0.5872 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.2934/0.4536, allocations: 24.55 MB / 0.6112 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007379/0.461, allocations: 5.955 MB / 0.617 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008935/0.4619, allocations: 40.19 kB / 0.617 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.4632, allocations: 0.6422 MB / 0.6177 GB, free: 34.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002737/0.466, allocations: 1.209 MB / 0.6188 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.4689, allocations: 1.301 MB / 0.6201 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002166/0.4711, allocations: 1.58 MB / 0.6216 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008053/0.4719, allocations: 0.6713 MB / 0.6223 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.4731, allocations: 0.8315 MB / 0.6231 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005531/0.4737, allocations: 0.5636 MB / 0.6237 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.669e-05/0.4737, allocations: 36.12 kB / 0.6237 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.4751, allocations: 0.5316 MB / 0.6242 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.4753, allocations: 232.9 kB / 0.6244 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.4755, allocations: 233.5 kB / 0.6247 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008591/0.4763, allocations: 1.012 MB / 0.6257 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.4763, allocations: 0 / 0.6257 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4763, allocations: 0 / 0.6257 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.4764, allocations: 3.938 kB / 0.6257 GB, free: 33.45 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.001895/0.4783, allocations: 1.371 MB / 0.627 GB, free: 32.53 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.4783, allocations: 13.31 kB / 0.627 GB, free: 32.53 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002938/0.4812, allocations: 0.6321 MB / 0.6276 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.4823, allocations: 0.7657 MB / 0.6284 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.407e-05/0.4823, allocations: 58.06 kB / 0.6284 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.676e-05/0.4824, allocations: 69.5 kB / 0.6285 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.4843, allocations: 1.107 MB / 0.6296 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.4843, allocations: 0 / 0.6296 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.587e-05/0.4844, allocations: 28.12 kB / 0.6296 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.4844, allocations: 18.97 kB / 0.6296 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002495/0.4869, allocations: 1.024 MB / 0.6306 GB, free: 31.13 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.004017/0.491, allocations: 4.983 MB / 0.6355 GB, free: 27.31 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/0.4934, allocations: 0.9464 MB / 0.6364 GB, free: 27.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008965/0.4943, allocations: 1.593 MB / 0.638 GB, free: 25.26 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001344/0.4957, allocations: 0.5882 MB / 0.6385 GB, free: 25.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 2.215e-06/0.4957, allocations: 0 / 0.6385 GB, free: 25.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.003943/0.4996, allocations: 1.51 MB / 0.64 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.4997, allocations: 65.06 kB / 0.6401 GB, free: 24.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.5007, allocations: 1.11 MB / 0.6412 GB, free: 24.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.568e-05/0.5008, allocations: 39.48 kB / 0.6412 GB, free: 24.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.5011, allocations: 0.5406 MB / 0.6417 GB, free: 23.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.5012, allocations: 215.8 kB / 0.6419 GB, free: 23.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.5013, allocations: 15.19 kB / 0.6419 GB, free: 23.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.5014, allocations: 334.3 kB / 0.6423 GB, free: 23.22 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.5026, allocations: 458.1 kB / 0.6427 GB, free: 23.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.504, allocations: 0.7225 MB / 0.6434 GB, free: 22.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.5052, allocations: 0.4902 MB / 0.6439 GB, free: 22.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.5053, allocations: 2.625 kB / 0.6439 GB, free: 22.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002965/0.5082, allocations: 1.287 MB / 0.6451 GB, free: 22.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.5083, allocations: 7.938 kB / 0.6452 GB, free: 22.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.5083, allocations: 12 kB / 0.6452 GB, free: 22.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.5083, allocations: 17.47 kB / 0.6452 GB, free: 22.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.5094, allocations: 270.6 kB / 0.6454 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/0.5094, allocations: 14.84 kB / 0.6455 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.5106, allocations: 208.3 kB / 0.6456 GB, free: 22.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.929e-05/0.5107, allocations: 42.12 kB / 0.6457 GB, free: 22.02 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.0004455/0.5111, allocations: 299.7 kB / 0.646 GB, free: 21.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.5113, allocations: 119.1 kB / 0.6461 GB, free: 21.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003485/0.5147, allocations: 1.383 MB / 0.6474 GB, free: 21.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/0.5148, allocations: 11.17 kB / 0.6475 GB, free: 21.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.5148, allocations: 3.938 kB / 0.6475 GB, free: 21.33 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.5148, allocations: 8.359 kB / 0.6475 GB, free: 21.33 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004618/0.5194, allocations: 2.387 MB / 0.6498 GB, free: 20.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.5195, allocations: 2.219 kB / 0.6498 GB, free: 20.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009815/0.5204, allocations: 193.9 kB / 0.65 GB, free: 20.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/0.5205, allocations: 8.219 kB / 0.65 GB, free: 20.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.335e-05/0.5205, allocations: 29.73 kB / 0.65 GB, free: 20.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.5205, allocations: 8.438 kB / 0.65 GB, free: 20.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.5205, allocations: 1.25 kB / 0.65 GB, free: 20.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004832/0.5254, allocations: 2.078 MB / 0.6521 GB, free: 19.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004381/0.5258, allocations: 284.1 kB / 0.6523 GB, free: 19.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.526, allocations: 23.16 kB / 0.6523 GB, free: 19.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009063/0.5269, allocations: 125.9 kB / 0.6525 GB, free: 19.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.527, allocations: 50.53 kB / 0.6525 GB, free: 19.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-05/0.5271, allocations: 32.97 kB / 0.6525 GB, free: 19.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001096/0.5282, allocations: 0.7588 MB / 0.6533 GB, free: 18.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5282, allocations: 3.938 kB / 0.6533 GB, free: 18.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001061/0.5293, allocations: 344.6 kB / 0.6536 GB, free: 18.82 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.001265/0.5306, allocations: 0.6438 MB / 0.6542 GB, free: 18.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003053/0.5336, allocations: 1.124 MB / 0.6553 GB, free: 18.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5337, allocations: 1.25 kB / 0.6553 GB, free: 18.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.5351, allocations: 0.5857 MB / 0.6559 GB, free: 18.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/0.5369, allocations: 428.4 kB / 0.6563 GB, free: 18.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004398/0.5413, allocations: 2.693 MB / 0.659 GB, free: 16.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005806/0.5419, allocations: 1.127 MB / 0.6601 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009293/0.5428, allocations: 256.6 kB / 0.6603 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.5431, allocations: 108.2 kB / 0.6604 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.5431, allocations: 0 / 0.6604 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of Templates: time 0.02923/0.5723, allocations: 18.41 MB / 0.6784 GB, free: 10.21 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: