Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008241/0.0008241, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.000891/0.000891, allocations: 172.7 kB / 15.95 MB, free: 208 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.17/1.17, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6501/0.6501, allocations: 132.4 MB / 423.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002622/0.0002622, allocations: 8 kB / 0.5034 GB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3354, allocations: 81.58 MB / 0.5831 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02602/0.3615, allocations: 26.93 MB / 0.6094 GB, free: 396 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008677/0.3702, allocations: 6.476 MB / 0.6157 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.3714, allocations: 40.47 kB / 0.6157 GB, free: 11.1 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.3728, allocations: 0.5616 MB / 0.6163 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002895/0.3757, allocations: 1.18 MB / 0.6174 GB, free: 9.789 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.378, allocations: 0.9421 MB / 0.6183 GB, free: 9.133 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003136/0.3812, allocations: 2.767 MB / 0.621 GB, free: 7.484 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.3823, allocations: 0.6412 MB / 0.6217 GB, free: 7.082 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.3843, allocations: 0.8884 MB / 0.6225 GB, free: 6.602 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001855/0.3862, allocations: 0.7672 MB / 0.6233 GB, free: 6.168 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002634/0.3864, allocations: 36.81 kB / 0.6233 GB, free: 6.168 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.3883, allocations: 492.9 kB / 0.6238 GB, free: 5.941 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003965/0.3887, allocations: 240.2 kB / 0.624 GB, free: 5.777 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005038/0.3892, allocations: 227.3 kB / 0.6242 GB, free: 5.648 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.3906, allocations: 1.026 MB / 0.6252 GB, free: 5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3907, allocations: 7.938 kB / 0.6253 GB, free: 4.992 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3907, allocations: 5.062 kB / 0.6253 GB, free: 4.988 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.425e-05/0.3907, allocations: 0 / 0.6253 GB, free: 4.988 MB / 462.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.002605/0.3933, allocations: 1.375 MB / 0.6266 GB, free: 3.883 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.3934, allocations: 8.031 kB / 0.6266 GB, free: 3.875 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002885/0.3962, allocations: 0.6266 MB / 0.6272 GB, free: 3.246 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.3975, allocations: 0.7662 MB / 0.628 GB, free: 2.426 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.981e-05/0.3975, allocations: 54 kB / 0.628 GB, free: 2.371 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.3977, allocations: 76 kB / 0.6281 GB, free: 2.297 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.3997, allocations: 1.111 MB / 0.6292 GB, free: 1.105 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.3997, allocations: 7.922 kB / 0.6292 GB, free: 1.098 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.816e-05/0.3998, allocations: 28 kB / 0.6292 GB, free: 1.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.3998, allocations: 23.94 kB / 0.6292 GB, free: 1.047 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/0.4023, allocations: 1.02 MB / 0.6302 GB, free: 24 kB / 462.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.004807/0.4071, allocations: 4.963 MB / 0.6351 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002385/0.4095, allocations: 0.9498 MB / 0.636 GB, free: 9.812 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.4107, allocations: 0.4891 MB / 0.6365 GB, free: 9.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/0.4118, allocations: 1.604 MB / 0.638 GB, free: 7.367 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001347/0.4132, allocations: 0.5885 MB / 0.6386 GB, free: 6.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 2.274e-06/0.4132, allocations: 0 / 0.6386 GB, free: 6.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=61): time 0.003776/0.417, allocations: 1.52 MB / 0.6401 GB, free: 5.246 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.417, allocations: 55.97 kB / 0.6402 GB, free: 5.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.4181, allocations: 1.108 MB / 0.6412 GB, free: 4.059 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.4182, allocations: 41.7 kB / 0.6413 GB, free: 4.012 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/0.4186, allocations: 0.5395 MB / 0.6418 GB, free: 3.465 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.4187, allocations: 225 kB / 0.642 GB, free: 3.242 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/0.4188, allocations: 12 kB / 0.642 GB, free: 3.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.746e-05/0.4189, allocations: 334 kB / 0.6424 GB, free: 2.898 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.4201, allocations: 461.6 kB / 0.6428 GB, free: 2.445 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/0.4214, allocations: 0.7218 MB / 0.6435 GB, free: 1.617 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.4226, allocations: 0.4901 MB / 0.644 GB, free: 1.125 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4226, allocations: 0 / 0.644 GB, free: 1.125 MB / 478.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002827/0.4254, allocations: 1.286 MB / 0.6452 GB, free: 15.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4255, allocations: 8 kB / 0.6452 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.4255, allocations: 8 kB / 0.6452 GB, free: 15.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.4255, allocations: 12 kB / 0.6453 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.4265, allocations: 288.1 kB / 0.6455 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.4266, allocations: 15.94 kB / 0.6455 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.4276, allocations: 202.9 kB / 0.6457 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.748e-05/0.4277, allocations: 51.97 kB / 0.6458 GB, free: 15.25 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 ($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.0003644/0.4281, allocations: 285.3 kB / 0.6461 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.4282, allocations: 122.5 kB / 0.6462 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0031/0.4313, allocations: 1.378 MB / 0.6475 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.4313, allocations: 15.98 kB / 0.6475 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.4314, allocations: 3.953 kB / 0.6475 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.4314, allocations: 3.984 kB / 0.6475 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004125/0.4355, allocations: 2.397 MB / 0.6499 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.4355, allocations: 4.031 kB / 0.6499 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008644/0.4364, allocations: 191.7 kB / 0.6501 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.4364, allocations: 4 kB / 0.6501 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.033e-05/0.4365, allocations: 31.95 kB / 0.6501 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.4365, allocations: 4 kB / 0.6501 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.4365, allocations: 7.938 kB / 0.6501 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004062/0.4406, allocations: 2.001 MB / 0.6521 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003818/0.441, allocations: 287.2 kB / 0.6523 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.4411, allocations: 16 kB / 0.6524 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008309/0.442, allocations: 127.9 kB / 0.6525 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/0.4421, allocations: 52.44 kB / 0.6525 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.528e-05/0.4421, allocations: 39.92 kB / 0.6526 GB, free: 8.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007743/0.4429, allocations: 0.7638 MB / 0.6533 GB, free: 7.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4429, allocations: 0 / 0.6533 GB, free: 7.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009473/0.4439, allocations: 335.6 kB / 0.6536 GB, free: 7.082 MB / 494.1 MB 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.001292/0.4452, allocations: 0.6472 MB / 0.6543 GB, free: 6.629 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002667/0.4478, allocations: 1.122 MB / 0.6554 GB, free: 5.508 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4479, allocations: 0 / 0.6554 GB, free: 5.508 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001343/0.4492, allocations: 0.5853 MB / 0.6559 GB, free: 4.922 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/0.4509, allocations: 425.5 kB / 0.6563 GB, free: 4.512 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004266/0.4552, allocations: 2.703 MB / 0.659 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005824/0.4558, allocations: 1.104 MB / 0.6601 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009115/0.4567, allocations: 248.4 kB / 0.6603 GB, free: 404 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/0.457, allocations: 103.4 kB / 0.6604 GB, free: 300 kB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.457, allocations: 3.938 kB / 0.6604 GB, free: 296 kB / 494.1 MB Notification: Performance of Templates: time 0.02673/0.4837, allocations: 18.44 MB / 0.6784 GB, free: 14.14 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)