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.001097/0.001097, allocations: 106.8 kB / 16.37 MB, free: 6.477 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.001083/0.001083, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8115/0.8115, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.89 kB / 0.5068 GB, free: 7.641 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3627, allocations: 80.9 MB / 0.5858 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02227/0.385, allocations: 29.35 MB / 0.6144 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.3958, allocations: 6.861 MB / 0.6211 GB, free: 6.297 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001661/0.3975, allocations: 51.62 kB / 0.6212 GB, free: 6.246 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001744/0.3992, allocations: 0.6914 MB / 0.6218 GB, free: 5.551 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004338/0.4036, allocations: 1.454 MB / 0.6233 GB, free: 4.09 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003951/0.4076, allocations: 1.157 MB / 0.6244 GB, free: 2.941 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004225/0.4118, allocations: 2.473 MB / 0.6268 GB, free: 468 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/0.4132, allocations: 0.7922 MB / 0.6276 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/0.4153, allocations: 1.019 MB / 0.6286 GB, free: 14.63 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/0.4166, allocations: 0.813 MB / 0.6294 GB, free: 13.82 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002407/0.4169, allocations: 68 kB / 0.6294 GB, free: 13.75 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.419, allocations: 0.8227 MB / 0.6302 GB, free: 12.93 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003773/0.4194, allocations: 271 kB / 0.6305 GB, free: 12.66 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008124/0.4202, allocations: 0.5553 MB / 0.631 GB, free: 12.1 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002763/0.423, allocations: 1.62 MB / 0.6326 GB, free: 10.48 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.423, allocations: 3.984 kB / 0.6326 GB, free: 10.48 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.423, allocations: 0 / 0.6326 GB, free: 10.48 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.4231, allocations: 0 / 0.6326 GB, free: 10.48 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.002651/0.4257, allocations: 1.574 MB / 0.6342 GB, free: 8.848 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.4258, allocations: 17.05 kB / 0.6342 GB, free: 8.832 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003416/0.4292, allocations: 0.5807 MB / 0.6348 GB, free: 8.25 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.4311, allocations: 0.8794 MB / 0.6356 GB, free: 7.316 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.954e-05/0.4311, allocations: 54 kB / 0.6357 GB, free: 7.262 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.4313, allocations: 79.89 kB / 0.6357 GB, free: 7.184 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002528/0.4338, allocations: 1.096 MB / 0.6368 GB, free: 6.012 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.4339, allocations: 11.94 kB / 0.6368 GB, free: 6 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.741e-05/0.434, allocations: 28 kB / 0.6368 GB, free: 5.973 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.434, allocations: 16 kB / 0.6369 GB, free: 5.957 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00307/0.4371, allocations: 1 MB / 0.6378 GB, free: 4.957 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.006458/0.4435, allocations: 4.935 MB / 0.6427 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002826/0.4464, allocations: 0.9035 MB / 0.6435 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.4478, allocations: 491.7 kB / 0.644 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/0.4492, allocations: 1.596 MB / 0.6456 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001621/0.4508, allocations: 0.5767 MB / 0.6461 GB, free: 11.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=61): time 2.364e-06/0.4508, allocations: 0 / 0.6461 GB, free: 11.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=61): time 0.004576/0.4554, allocations: 1.481 MB / 0.6476 GB, free: 10.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.4555, allocations: 59.97 kB / 0.6476 GB, free: 10.24 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.4571, allocations: 1.116 MB / 0.6487 GB, free: 9.109 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.4572, allocations: 45.64 kB / 0.6488 GB, free: 9.059 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00052/0.4578, allocations: 0.5357 MB / 0.6493 GB, free: 8.516 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002306/0.458, allocations: 217 kB / 0.6495 GB, free: 8.301 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003026/0.4583, allocations: 166.5 kB / 0.6497 GB, free: 8.133 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4585, allocations: 334 kB / 0.65 GB, free: 7.801 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.4599, allocations: 457.5 kB / 0.6504 GB, free: 7.355 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/0.4615, allocations: 0.7088 MB / 0.6511 GB, free: 6.531 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002863/0.4643, allocations: 1.12 MB / 0.6522 GB, free: 5.309 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.4644, allocations: 7.938 kB / 0.6522 GB, free: 5.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003639/0.468, allocations: 1.274 MB / 0.6534 GB, free: 4.016 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.468, allocations: 8 kB / 0.6535 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.4681, allocations: 8 kB / 0.6535 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/0.4681, allocations: 12 kB / 0.6535 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.4693, allocations: 271.9 kB / 0.6537 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.262e-05/0.4693, allocations: 15.94 kB / 0.6538 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.4705, allocations: 175 kB / 0.6539 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.4707, allocations: 47.97 kB / 0.654 GB, free: 3.488 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.0005184/0.4712, allocations: 303.7 kB / 0.6543 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002795/0.4715, allocations: 118.5 kB / 0.6544 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003803/0.4753, allocations: 1.357 MB / 0.6557 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/0.4753, allocations: 11.98 kB / 0.6557 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.4753, allocations: 0 / 0.6557 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.4754, allocations: 3.984 kB / 0.6557 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00547/0.4808, allocations: 2.366 MB / 0.658 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.4809, allocations: 4.188 kB / 0.658 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.4819, allocations: 187.7 kB / 0.6582 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/0.4819, allocations: 4 kB / 0.6582 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.589e-05/0.482, allocations: 23.97 kB / 0.6582 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.736e-05/0.482, allocations: 11.94 kB / 0.6582 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.482, allocations: 0 / 0.6582 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005185/0.4872, allocations: 1.973 MB / 0.6602 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005736/0.4878, allocations: 275.3 kB / 0.6604 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002323/0.4881, allocations: 16 kB / 0.6604 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000993/0.4891, allocations: 115.7 kB / 0.6606 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.4892, allocations: 48.5 kB / 0.6606 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-05/0.4893, allocations: 31.97 kB / 0.6606 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001078/0.4904, allocations: 0.7638 MB / 0.6614 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4904, allocations: 0 / 0.6614 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001175/0.4916, allocations: 355.5 kB / 0.6617 GB, free: 11.4 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.001614/0.4932, allocations: 0.6579 MB / 0.6624 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003496/0.4967, allocations: 1.11 MB / 0.6634 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4967, allocations: 0 / 0.6634 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/0.4984, allocations: 0.5775 MB / 0.664 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/0.5005, allocations: 459.8 kB / 0.6644 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005064/0.5055, allocations: 2.345 MB / 0.6667 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000764/0.5063, allocations: 1.104 MB / 0.6678 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009555/0.5073, allocations: 244.7 kB / 0.668 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/0.5076, allocations: 107.4 kB / 0.6681 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.5076, allocations: 0 / 0.6681 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of Templates: time 0.03384/0.5415, allocations: 19.89 MB / 0.6876 GB, free: 1.281 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)