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.0009826/0.0009827, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006617/0.006618, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.373/1.373, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7528/0.7528, allocations: 132.4 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003609, allocations: 8 kB / 0.504 GB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4441, allocations: 81.57 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03236/0.4765, allocations: 28.45 MB / 0.6114 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.4876, allocations: 6.827 MB / 0.6181 GB, free: 9.5 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.4891, allocations: 40.84 kB / 0.6182 GB, free: 9.48 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.4908, allocations: 0.5944 MB / 0.6187 GB, free: 9.059 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003827/0.4946, allocations: 1.354 MB / 0.6201 GB, free: 8.02 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002863/0.4975, allocations: 1.032 MB / 0.6211 GB, free: 7.277 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004283/0.5018, allocations: 3.224 MB / 0.6242 GB, free: 5.5 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.5031, allocations: 0.7096 MB / 0.6249 GB, free: 5.051 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002247/0.5054, allocations: 0.9226 MB / 0.6258 GB, free: 4.539 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/0.5072, allocations: 0.8138 MB / 0.6266 GB, free: 4.086 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.5074, allocations: 40.22 kB / 0.6266 GB, free: 4.082 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002427/0.5099, allocations: 0.7619 MB / 0.6274 GB, free: 3.59 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003273/0.5102, allocations: 251 kB / 0.6276 GB, free: 3.344 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009608/0.5112, allocations: 0.5414 MB / 0.6282 GB, free: 2.793 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00286/0.514, allocations: 1.561 MB / 0.6297 GB, free: 1.227 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5141, allocations: 0 / 0.6297 GB, free: 1.227 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.5141, allocations: 0 / 0.6297 GB, free: 1.227 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.945e-05/0.5141, allocations: 0 / 0.6297 GB, free: 1.227 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.002788/0.5169, allocations: 1.36 MB / 0.631 GB, free: 15.81 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.517, allocations: 8.031 kB / 0.631 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003589/0.5206, allocations: 0.6275 MB / 0.6316 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/0.5223, allocations: 0.817 MB / 0.6324 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.851e-05/0.5223, allocations: 54 kB / 0.6325 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.5225, allocations: 72 kB / 0.6325 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002427/0.5249, allocations: 1.111 MB / 0.6336 GB, free: 12.99 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.5249, allocations: 7.938 kB / 0.6336 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.783e-05/0.525, allocations: 32 kB / 0.6337 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.5251, allocations: 16 kB / 0.6337 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00302/0.5281, allocations: 1.027 MB / 0.6347 GB, free: 11.9 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.005913/0.534, allocations: 4.971 MB / 0.6395 GB, free: 6.645 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002973/0.537, allocations: 0.9536 MB / 0.6405 GB, free: 5.68 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/0.5385, allocations: 0.4937 MB / 0.641 GB, free: 5.188 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001427/0.5399, allocations: 1.611 MB / 0.6425 GB, free: 3.227 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001676/0.5416, allocations: 0.5768 MB / 0.6431 GB, free: 2.641 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 3.697e-06/0.5416, allocations: 0 / 0.6431 GB, free: 2.641 MB / 478.1 MB Notification: Performance of matching and sorting (n=61): time 0.00485/0.5465, allocations: 1.524 MB / 0.6446 GB, free: 1.113 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.5465, allocations: 63.89 kB / 0.6446 GB, free: 1.035 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.5479, allocations: 1.108 MB / 0.6457 GB, free: 15.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.908e-05/0.5481, allocations: 45.7 kB / 0.6458 GB, free: 15.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004413/0.5485, allocations: 0.5471 MB / 0.6463 GB, free: 15.31 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.5487, allocations: 205.2 kB / 0.6465 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.5488, allocations: 65.69 kB / 0.6466 GB, free: 15.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.549, allocations: 337.9 kB / 0.6469 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.5505, allocations: 461.6 kB / 0.6473 GB, free: 14.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001674/0.5522, allocations: 0.732 MB / 0.648 GB, free: 13.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003102/0.5553, allocations: 1.136 MB / 0.6491 GB, free: 12.17 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.5553, allocations: 3.938 kB / 0.6491 GB, free: 12.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003718/0.559, allocations: 1.293 MB / 0.6504 GB, free: 10.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.5591, allocations: 10.97 kB / 0.6504 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.5591, allocations: 8 kB / 0.6504 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.5591, allocations: 16 kB / 0.6504 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.5603, allocations: 279.6 kB / 0.6507 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/0.5604, allocations: 15.94 kB / 0.6507 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.5617, allocations: 206.8 kB / 0.6509 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.756e-05/0.5618, allocations: 47.97 kB / 0.651 GB, free: 10.29 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.0004641/0.5623, allocations: 297.3 kB / 0.6513 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.5624, allocations: 122.5 kB / 0.6514 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00389/0.5663, allocations: 1.38 MB / 0.6527 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/0.5664, allocations: 15.98 kB / 0.6527 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.5664, allocations: 0 / 0.6527 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.5664, allocations: 7.984 kB / 0.6527 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005053/0.5715, allocations: 2.401 MB / 0.6551 GB, free: 6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.5715, allocations: 0 / 0.6551 GB, free: 6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.5726, allocations: 191.9 kB / 0.6553 GB, free: 5.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-06/0.5726, allocations: 4 kB / 0.6553 GB, free: 5.809 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.516e-05/0.5726, allocations: 31.97 kB / 0.6553 GB, free: 5.777 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/0.5727, allocations: 7.938 kB / 0.6553 GB, free: 5.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.5727, allocations: 4 kB / 0.6553 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005188/0.5779, allocations: 2.008 MB / 0.6573 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004806/0.5784, allocations: 287.3 kB / 0.6575 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.5785, allocations: 12 kB / 0.6576 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.5795, allocations: 135.8 kB / 0.6577 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.5796, allocations: 56.44 kB / 0.6577 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.418e-05/0.5797, allocations: 31.97 kB / 0.6578 GB, free: 3.191 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009482/0.5807, allocations: 0.7638 MB / 0.6585 GB, free: 2.422 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5807, allocations: 0 / 0.6585 GB, free: 2.422 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001089/0.5818, allocations: 347.6 kB / 0.6589 GB, free: 2.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 (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.001481/0.5833, allocations: 0.6422 MB / 0.6595 GB, free: 1.629 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003464/0.5868, allocations: 1.142 MB / 0.6606 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5868, allocations: 0 / 0.6606 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0017/0.5885, allocations: 0.5816 MB / 0.6612 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/0.5909, allocations: 428.6 kB / 0.6616 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005145/0.5961, allocations: 2.811 MB / 0.6643 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007379/0.5968, allocations: 1.106 MB / 0.6654 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0011/0.598, allocations: 242.8 kB / 0.6656 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/0.5983, allocations: 111.4 kB / 0.6657 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of SimCode: time 1.213e-06/0.5983, allocations: 0 / 0.6657 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.03414/0.6324, allocations: 18.93 MB / 0.6842 GB, free: 8.512 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)