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.001379/0.001379, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001497/0.001497, allocations: 194.9 kB / 16.14 MB, free: 6.691 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.477/1.477, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.002/1.002, allocations: 135.1 MB / 425.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 56.88 kB / 0.5047 GB, free: 5.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1892, allocations: 80.94 MB / 0.5837 GB, free: 5.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3925/0.5818, allocations: 29.14 MB / 0.6122 GB, free: 35.6 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009843/0.5916, allocations: 6.918 MB / 0.6189 GB, free: 35.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.5932, allocations: 46.75 kB / 0.619 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.5947, allocations: 0.594 MB / 0.6196 GB, free: 34.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00349/0.5982, allocations: 1.349 MB / 0.6209 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.6009, allocations: 1.038 MB / 0.6219 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002926/0.6039, allocations: 3.222 MB / 0.625 GB, free: 32.56 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000882/0.6048, allocations: 0.722 MB / 0.6257 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.6062, allocations: 0.9429 MB / 0.6267 GB, free: 31.89 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007938/0.607, allocations: 0.8202 MB / 0.6275 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.977e-05/0.6071, allocations: 42.97 kB / 0.6275 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.6088, allocations: 0.774 MB / 0.6283 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.609, allocations: 262.1 kB / 0.6285 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004436/0.6094, allocations: 0.5314 MB / 0.629 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.6109, allocations: 1.566 MB / 0.6306 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6109, allocations: 7.875 kB / 0.6306 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.31e-07/0.6109, allocations: 0 / 0.6306 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.611, allocations: 0 / 0.6306 GB, free: 30.23 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.002285/0.6133, allocations: 1.567 MB / 0.6321 GB, free: 29.17 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.6133, allocations: 8.5 kB / 0.6321 GB, free: 29.17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003377/0.6167, allocations: 0.5837 MB / 0.6327 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.6178, allocations: 0.8022 MB / 0.6335 GB, free: 28.56 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.957e-05/0.6178, allocations: 61.81 kB / 0.6335 GB, free: 28.53 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.618, allocations: 72.81 kB / 0.6336 GB, free: 28.51 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.6201, allocations: 1.106 MB / 0.6347 GB, free: 27.99 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.6202, allocations: 3.938 kB / 0.6347 GB, free: 27.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-05/0.6202, allocations: 33.12 kB / 0.6347 GB, free: 27.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.6203, allocations: 18.16 kB / 0.6347 GB, free: 27.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002775/0.623, allocations: 1 MB / 0.6357 GB, free: 27.7 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.004606/0.6277, allocations: 4.931 MB / 0.6405 GB, free: 23.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002717/0.6304, allocations: 0.9031 MB / 0.6414 GB, free: 23.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.6317, allocations: 487.3 kB / 0.6419 GB, free: 23.47 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/0.6328, allocations: 1.588 MB / 0.6434 GB, free: 21.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001556/0.6343, allocations: 0.5786 MB / 0.644 GB, free: 21.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 3.236e-06/0.6343, allocations: 3.938 kB / 0.644 GB, free: 21.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.004335/0.6387, allocations: 1.486 MB / 0.6454 GB, free: 21.04 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.6387, allocations: 62.59 kB / 0.6455 GB, free: 20.97 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/0.6405, allocations: 1.122 MB / 0.6466 GB, free: 20.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.177e-05/0.6406, allocations: 38.77 kB / 0.6466 GB, free: 20.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003913/0.641, allocations: 0.5424 MB / 0.6471 GB, free: 20.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.6412, allocations: 217.8 kB / 0.6474 GB, free: 19.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003033/0.6415, allocations: 160.2 kB / 0.6475 GB, free: 19.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.6416, allocations: 335.1 kB / 0.6478 GB, free: 19.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.6431, allocations: 449 kB / 0.6483 GB, free: 19.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.6448, allocations: 0.7152 MB / 0.649 GB, free: 18.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003125/0.6479, allocations: 1.121 MB / 0.65 GB, free: 18.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.648, allocations: 1.938 kB / 0.6501 GB, free: 18.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00396/0.6519, allocations: 1.271 MB / 0.6513 GB, free: 17.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.652, allocations: 8.406 kB / 0.6513 GB, free: 17.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/0.652, allocations: 8.75 kB / 0.6513 GB, free: 17.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.476e-05/0.652, allocations: 11.38 kB / 0.6513 GB, free: 17.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.6533, allocations: 271.5 kB / 0.6516 GB, free: 17.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.235e-05/0.6534, allocations: 14.62 kB / 0.6516 GB, free: 17.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.6548, allocations: 205.8 kB / 0.6518 GB, free: 17.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.6549, allocations: 51.83 kB / 0.6518 GB, free: 17.86 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.0005516/0.6555, allocations: 292.8 kB / 0.6521 GB, free: 17.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/0.6557, allocations: 122.6 kB / 0.6522 GB, free: 17.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004015/0.6597, allocations: 1.358 MB / 0.6536 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/0.6598, allocations: 13.97 kB / 0.6536 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.6598, allocations: 0 / 0.6536 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.6598, allocations: 3.844 kB / 0.6536 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005662/0.6655, allocations: 2.372 MB / 0.6559 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.6655, allocations: 5.875 kB / 0.6559 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.6666, allocations: 186.3 kB / 0.6561 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.821e-05/0.6666, allocations: 8.672 kB / 0.6561 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.409e-05/0.6667, allocations: 29.23 kB / 0.6561 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.207e-05/0.6667, allocations: 4.391 kB / 0.6561 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.6667, allocations: 6.719 kB / 0.6561 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005194/0.6719, allocations: 1.967 MB / 0.658 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005269/0.6725, allocations: 280.9 kB / 0.6583 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002569/0.6727, allocations: 18.88 kB / 0.6583 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.6739, allocations: 116.5 kB / 0.6584 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.674, allocations: 53.83 kB / 0.6585 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.22e-05/0.6741, allocations: 33.05 kB / 0.6585 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001301/0.6754, allocations: 0.7642 MB / 0.6593 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.3e-07/0.6754, allocations: 0 / 0.6593 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001401/0.6768, allocations: 351.6 kB / 0.6596 GB, free: 14.75 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.001646/0.6785, allocations: 0.6577 MB / 0.6602 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003538/0.6821, allocations: 1.108 MB / 0.6613 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6821, allocations: 0 / 0.6613 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.6838, allocations: 0.5779 MB / 0.6619 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/0.6861, allocations: 427.8 kB / 0.6623 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00546/0.6916, allocations: 2.731 MB / 0.665 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007996/0.6924, allocations: 1.102 MB / 0.666 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001303/0.6937, allocations: 248.1 kB / 0.6663 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/0.6941, allocations: 107.5 kB / 0.6664 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.6941, allocations: 0 / 0.6664 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.03819/0.7323, allocations: 19.06 MB / 0.685 GB, free: 4.703 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)