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.00471/0.004714, allocations: 99.95 kB / 15.73 MB, free: 6.473 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.00107/0.00107, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9805/0.9805, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.91 kB / 0.5857 GB, free: 3.344 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.464/0.4654, allocations: 80.91 MB / 0.6647 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02972/0.4952, allocations: 29.34 MB / 0.6933 GB, free: 252 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01157/0.5068, allocations: 6.871 MB / 0.7 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.5085, allocations: 45.69 kB / 0.7001 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.5102, allocations: 0.698 MB / 0.7008 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004384/0.5147, allocations: 1.518 MB / 0.7022 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003283/0.518, allocations: 1.151 MB / 0.7034 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004022/0.5221, allocations: 2.483 MB / 0.7058 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001671/0.5237, allocations: 0.7991 MB / 0.7066 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002652/0.5264, allocations: 1.044 MB / 0.7076 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001778/0.5282, allocations: 0.8109 MB / 0.7084 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002732/0.5285, allocations: 64 kB / 0.7084 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002653/0.5311, allocations: 0.8226 MB / 0.7093 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004984/0.5317, allocations: 274.9 kB / 0.7095 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001203/0.5329, allocations: 0.5592 MB / 0.7101 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003686/0.5366, allocations: 1.635 MB / 0.7117 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.5366, allocations: 0 / 0.7117 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5366, allocations: 0 / 0.7117 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.718e-05/0.5367, allocations: 4 kB / 0.7117 GB, free: 1.555 MB / 0.5294 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.003608/0.5403, allocations: 1.57 MB / 0.7132 GB, free: 15.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.5403, allocations: 8.031 kB / 0.7132 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003375/0.5437, allocations: 0.5884 MB / 0.7138 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/0.5456, allocations: 0.8793 MB / 0.7146 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.549e-05/0.5456, allocations: 54 kB / 0.7147 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.5458, allocations: 72 kB / 0.7148 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/0.5483, allocations: 1.099 MB / 0.7158 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.5483, allocations: 3.938 kB / 0.7158 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.758e-05/0.5484, allocations: 31.98 kB / 0.7159 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.5484, allocations: 20 kB / 0.7159 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002929/0.5514, allocations: 1 MB / 0.7169 GB, free: 12.04 MB / 0.545 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.006134/0.5575, allocations: 4.947 MB / 0.7217 GB, free: 6.805 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002731/0.5603, allocations: 0.9077 MB / 0.7226 GB, free: 5.891 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.5616, allocations: 491 kB / 0.723 GB, free: 5.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/0.563, allocations: 1.591 MB / 0.7246 GB, free: 3.465 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001517/0.5645, allocations: 0.5612 MB / 0.7251 GB, free: 2.895 MB / 0.545 GB Notification: Performance of pre-optimization done (n=61): time 3.707e-06/0.5645, allocations: 0 / 0.7251 GB, free: 2.895 MB / 0.545 GB Notification: Performance of matching and sorting (n=61): time 0.004579/0.5691, allocations: 1.489 MB / 0.7266 GB, free: 1.402 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.5692, allocations: 59.91 kB / 0.7267 GB, free: 1.332 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.5707, allocations: 1.116 MB / 0.7277 GB, free: 208 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.873e-05/0.5708, allocations: 45.64 kB / 0.7278 GB, free: 156 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004871/0.5713, allocations: 0.5511 MB / 0.7283 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/0.5715, allocations: 209.1 kB / 0.7285 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/0.5718, allocations: 162.4 kB / 0.7287 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5719, allocations: 341.9 kB / 0.729 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.5732, allocations: 445.6 kB / 0.7294 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.5748, allocations: 0.7166 MB / 0.7301 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002708/0.5775, allocations: 1.12 MB / 0.7312 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.5775, allocations: 4 kB / 0.7312 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003358/0.5809, allocations: 1.27 MB / 0.7325 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.5809, allocations: 11.94 kB / 0.7325 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-05/0.5809, allocations: 8 kB / 0.7325 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/0.581, allocations: 12 kB / 0.7325 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.5821, allocations: 272.2 kB / 0.7328 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-05/0.5821, allocations: 15.94 kB / 0.7328 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.5833, allocations: 179 kB / 0.7329 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.5834, allocations: 47.97 kB / 0.733 GB, free: 10.58 MB / 0.5606 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.0004684/0.5839, allocations: 291.7 kB / 0.7333 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/0.5842, allocations: 118.5 kB / 0.7334 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003513/0.5877, allocations: 1.359 MB / 0.7347 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/0.5877, allocations: 11.98 kB / 0.7347 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.5877, allocations: 4 kB / 0.7347 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.5877, allocations: 3.984 kB / 0.7347 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004734/0.5925, allocations: 2.366 MB / 0.737 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.5925, allocations: 0 / 0.737 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009365/0.5934, allocations: 187.9 kB / 0.7372 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.395e-05/0.5935, allocations: 7.984 kB / 0.7372 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.127e-05/0.5935, allocations: 27.97 kB / 0.7373 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/0.5936, allocations: 11.88 kB / 0.7373 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5936, allocations: 4 kB / 0.7373 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004592/0.5982, allocations: 1.973 MB / 0.7392 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004455/0.5986, allocations: 275.3 kB / 0.7395 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.5988, allocations: 23.98 kB / 0.7395 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008645/0.5997, allocations: 103.8 kB / 0.7396 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.5998, allocations: 48.5 kB / 0.7396 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.639e-05/0.5999, allocations: 31.97 kB / 0.7397 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000932/0.6008, allocations: 0.7716 MB / 0.7404 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6008, allocations: 0 / 0.7404 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001126/0.602, allocations: 351.5 kB / 0.7407 GB, free: 2.484 MB / 0.5606 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.001534/0.6035, allocations: 0.6577 MB / 0.7414 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003151/0.6067, allocations: 1.114 MB / 0.7425 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6067, allocations: 0 / 0.7425 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001518/0.6082, allocations: 0.5775 MB / 0.743 GB, free: 304 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/0.6101, allocations: 451.9 kB / 0.7435 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00486/0.615, allocations: 2.334 MB / 0.7458 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006686/0.6157, allocations: 1.111 MB / 0.7468 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008936/0.6166, allocations: 240.7 kB / 0.7471 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/0.617, allocations: 107.4 kB / 0.7472 GB, free: 12 MB / 0.5762 GB Notification: Performance of SimCode: time 7.31e-07/0.617, allocations: 3.938 kB / 0.7472 GB, free: 12 MB / 0.5762 GB Notification: Performance of Templates: time 0.03626/0.6532, allocations: 20.01 MB / 0.7667 GB, free: 8.246 MB / 0.5919 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)