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.001295/0.001295, allocations: 107.6 kB / 16.27 MB, free: 6.414 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.001241/0.001241, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.35/1.35, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8255/0.8255, allocations: 135.2 MB / 426.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002832/0.002832, allocations: 59.91 kB / 0.506 GB, free: 8.371 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3651, allocations: 80.92 MB / 0.5851 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02139/0.3865, allocations: 29.34 MB / 0.6137 GB, free: 13.24 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.3972, allocations: 6.869 MB / 0.6204 GB, free: 6.391 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.3984, allocations: 47.69 kB / 0.6205 GB, free: 6.344 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.4001, allocations: 0.6953 MB / 0.6211 GB, free: 5.645 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003679/0.4038, allocations: 1.45 MB / 0.6226 GB, free: 4.188 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002856/0.4067, allocations: 1.159 MB / 0.6237 GB, free: 3.039 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00322/0.4099, allocations: 2.473 MB / 0.6261 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.4111, allocations: 0.7845 MB / 0.6269 GB, free: 15.76 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001933/0.4131, allocations: 1.012 MB / 0.6279 GB, free: 14.75 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.4146, allocations: 0.8092 MB / 0.6286 GB, free: 13.93 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002529/0.4148, allocations: 64 kB / 0.6287 GB, free: 13.87 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.4169, allocations: 0.8187 MB / 0.6295 GB, free: 13.05 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003964/0.4173, allocations: 278.9 kB / 0.6298 GB, free: 12.78 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007731/0.4181, allocations: 0.5515 MB / 0.6303 GB, free: 12.22 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.4206, allocations: 1.608 MB / 0.6319 GB, free: 10.61 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4206, allocations: 0 / 0.6319 GB, free: 10.61 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4206, allocations: 0 / 0.6319 GB, free: 10.61 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.698e-05/0.4206, allocations: 0 / 0.6319 GB, free: 10.61 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.002742/0.4234, allocations: 1.566 MB / 0.6334 GB, free: 8.988 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.4234, allocations: 13.09 kB / 0.6334 GB, free: 8.977 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003523/0.4269, allocations: 0.5924 MB / 0.634 GB, free: 8.383 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.4283, allocations: 0.8092 MB / 0.6348 GB, free: 7.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.011e-05/0.4283, allocations: 54 kB / 0.6348 GB, free: 7.465 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.4285, allocations: 83.89 kB / 0.6349 GB, free: 7.383 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002572/0.4311, allocations: 1.092 MB / 0.636 GB, free: 6.215 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.4311, allocations: 3.938 kB / 0.636 GB, free: 6.211 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.584e-05/0.4312, allocations: 32 kB / 0.636 GB, free: 6.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/0.4312, allocations: 20 kB / 0.636 GB, free: 6.16 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003204/0.4344, allocations: 0.9962 MB / 0.637 GB, free: 5.164 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.006081/0.4405, allocations: 4.962 MB / 0.6419 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003018/0.4436, allocations: 0.9073 MB / 0.6427 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.4451, allocations: 490.4 kB / 0.6432 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001596/0.4467, allocations: 1.591 MB / 0.6448 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001716/0.4484, allocations: 0.5767 MB / 0.6453 GB, free: 11.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=61): time 3.065e-06/0.4484, allocations: 0 / 0.6453 GB, free: 11.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=61): time 0.005017/0.4535, allocations: 1.473 MB / 0.6468 GB, free: 10.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.4535, allocations: 63.95 kB / 0.6468 GB, free: 10.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.4552, allocations: 1.12 MB / 0.6479 GB, free: 9.297 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.692e-05/0.4553, allocations: 41.7 kB / 0.648 GB, free: 9.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000492/0.4558, allocations: 0.5473 MB / 0.6485 GB, free: 8.695 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.456, allocations: 213 kB / 0.6487 GB, free: 8.484 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/0.4563, allocations: 166.5 kB / 0.6489 GB, free: 8.316 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4564, allocations: 334 kB / 0.6492 GB, free: 7.984 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/0.4579, allocations: 457.6 kB / 0.6496 GB, free: 7.539 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/0.4597, allocations: 0.7088 MB / 0.6503 GB, free: 6.719 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003155/0.4629, allocations: 1.113 MB / 0.6514 GB, free: 5.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/0.4629, allocations: 11.94 kB / 0.6514 GB, free: 5.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003726/0.4666, allocations: 1.267 MB / 0.6526 GB, free: 4.211 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.4667, allocations: 12 kB / 0.6527 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.4667, allocations: 4 kB / 0.6527 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/0.4667, allocations: 12 kB / 0.6527 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.468, allocations: 275.8 kB / 0.6529 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.048e-05/0.468, allocations: 23.91 kB / 0.653 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.4692, allocations: 179 kB / 0.6531 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-05/0.4693, allocations: 43.98 kB / 0.6532 GB, free: 3.672 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.0004778/0.4698, allocations: 295.7 kB / 0.6535 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.47, allocations: 118.5 kB / 0.6536 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003942/0.4739, allocations: 1.353 MB / 0.6549 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.474, allocations: 12 kB / 0.6549 GB, free: 1.891 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.474, allocations: 3.984 kB / 0.6549 GB, free: 1.887 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.474, allocations: 0 / 0.6549 GB, free: 1.887 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005265/0.4793, allocations: 2.37 MB / 0.6572 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.4793, allocations: 7.984 kB / 0.6572 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.4804, allocations: 191.9 kB / 0.6574 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-06/0.4804, allocations: 8 kB / 0.6574 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.15e-05/0.4805, allocations: 27.95 kB / 0.6574 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.4805, allocations: 7.938 kB / 0.6574 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/0.4805, allocations: 0 / 0.6574 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005387/0.4859, allocations: 1.977 MB / 0.6594 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004637/0.4864, allocations: 283.2 kB / 0.6596 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.4865, allocations: 16 kB / 0.6597 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009448/0.4875, allocations: 107.8 kB / 0.6598 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.4876, allocations: 52.48 kB / 0.6598 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.475e-05/0.4877, allocations: 35.97 kB / 0.6599 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009895/0.4887, allocations: 0.7638 MB / 0.6606 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4887, allocations: 0 / 0.6606 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001062/0.4898, allocations: 347.5 kB / 0.6609 GB, free: 11.58 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.001984/0.4918, allocations: 0.6523 MB / 0.6616 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003874/0.4957, allocations: 1.181 MB / 0.6627 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.4957, allocations: 8.188 kB / 0.6627 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/0.4974, allocations: 0.5734 MB / 0.6633 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.4996, allocations: 457.9 kB / 0.6637 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005085/0.5047, allocations: 2.41 MB / 0.6661 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007515/0.5054, allocations: 1.104 MB / 0.6672 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004369/0.5059, allocations: 119.4 kB / 0.6673 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of SimCode: time 7.92e-07/0.5059, allocations: 0 / 0.6673 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of Templates: time 0.03002/0.5359, allocations: 19.01 MB / 0.6858 GB, free: 2.328 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)