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.00149/0.00149, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001604/0.001604, allocations: 190.6 kB / 16.25 MB, free: 6.617 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.348/1.348, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.746/0.746, allocations: 132.2 MB / 422.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001174, allocations: 77.02 kB / 0.5013 GB, free: 9.07 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.151, allocations: 80.21 MB / 0.5796 GB, free: 9.078 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3131/0.4641, allocations: 29.1 MB / 0.608 GB, free: 35.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009648/0.4738, allocations: 6.834 MB / 0.6147 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.4751, allocations: 47.88 kB / 0.6147 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.4765, allocations: 0.618 MB / 0.6153 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003218/0.4798, allocations: 1.357 MB / 0.6167 GB, free: 35.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.4823, allocations: 1.049 MB / 0.6177 GB, free: 35.31 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002571/0.4849, allocations: 2.499 MB / 0.6201 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.486, allocations: 0.801 MB / 0.6209 GB, free: 34.26 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.4876, allocations: 1.03 MB / 0.6219 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008255/0.4885, allocations: 0.8527 MB / 0.6228 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.701e-05/0.4886, allocations: 63.56 kB / 0.6228 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.4901, allocations: 0.8314 MB / 0.6236 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.4904, allocations: 281.9 kB / 0.6239 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004164/0.4908, allocations: 0.5599 MB / 0.6244 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.4926, allocations: 1.614 MB / 0.626 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4926, allocations: 0 / 0.626 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4926, allocations: 0 / 0.626 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.4926, allocations: 0 / 0.626 GB, free: 32.32 MB / 0.4981 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.002277/0.4949, allocations: 1.57 MB / 0.6276 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.495, allocations: 12.34 kB / 0.6276 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003423/0.4984, allocations: 0.5871 MB / 0.6281 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.4995, allocations: 0.8113 MB / 0.6289 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.912e-05/0.4996, allocations: 64.72 kB / 0.629 GB, free: 30.65 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.4998, allocations: 70.38 kB / 0.6291 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/0.502, allocations: 1.093 MB / 0.6301 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.502, allocations: 7.188 kB / 0.6301 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.192e-05/0.5021, allocations: 32.75 kB / 0.6302 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.5021, allocations: 18.25 kB / 0.6302 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002693/0.5048, allocations: 0.9986 MB / 0.6312 GB, free: 29.83 MB / 0.4981 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.004516/0.5093, allocations: 4.929 MB / 0.636 GB, free: 26.04 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/0.512, allocations: 0.9042 MB / 0.6369 GB, free: 25.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.5132, allocations: 492.1 kB / 0.6373 GB, free: 25.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.5143, allocations: 1.597 MB / 0.6389 GB, free: 23.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001421/0.5157, allocations: 0.5691 MB / 0.6394 GB, free: 23.67 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 2.505e-06/0.5157, allocations: 0 / 0.6394 GB, free: 23.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.004176/0.5199, allocations: 1.48 MB / 0.6409 GB, free: 23.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.5199, allocations: 60.22 kB / 0.6409 GB, free: 23.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.5211, allocations: 1.117 MB / 0.642 GB, free: 22.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.71e-05/0.5211, allocations: 42.95 kB / 0.6421 GB, free: 22.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.5215, allocations: 0.549 MB / 0.6426 GB, free: 22.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.5216, allocations: 204.5 kB / 0.6428 GB, free: 22.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.5219, allocations: 165.3 kB / 0.643 GB, free: 22.06 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.159e-05/0.5219, allocations: 333.7 kB / 0.6433 GB, free: 21.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/0.5232, allocations: 447.7 kB / 0.6437 GB, free: 21.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.5246, allocations: 0.7213 MB / 0.6444 GB, free: 21.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002739/0.5274, allocations: 1.118 MB / 0.6455 GB, free: 20.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.5274, allocations: 6 kB / 0.6455 GB, free: 20.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003314/0.5307, allocations: 1.275 MB / 0.6468 GB, free: 20.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.5307, allocations: 8.531 kB / 0.6468 GB, free: 20.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.5308, allocations: 7.062 kB / 0.6468 GB, free: 20.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/0.5308, allocations: 15.5 kB / 0.6468 GB, free: 20.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.532, allocations: 276.5 kB / 0.647 GB, free: 20.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.327e-05/0.532, allocations: 18.34 kB / 0.6471 GB, free: 20.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.5332, allocations: 199.8 kB / 0.6473 GB, free: 20.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.607e-05/0.5333, allocations: 48.33 kB / 0.6473 GB, free: 20.08 MB / 0.4981 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.0004532/0.5338, allocations: 291.3 kB / 0.6476 GB, free: 19.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.534, allocations: 118.4 kB / 0.6477 GB, free: 19.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003681/0.5376, allocations: 1.365 MB / 0.649 GB, free: 19.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.5377, allocations: 9.016 kB / 0.649 GB, free: 19.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.5377, allocations: 0 / 0.649 GB, free: 19.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.5377, allocations: 4.391 kB / 0.649 GB, free: 19.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004747/0.5425, allocations: 2.376 MB / 0.6514 GB, free: 18.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.5425, allocations: 3.25 kB / 0.6514 GB, free: 18.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.5435, allocations: 186.8 kB / 0.6515 GB, free: 18.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.5435, allocations: 4.469 kB / 0.6515 GB, free: 18.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-05/0.5436, allocations: 23.8 kB / 0.6516 GB, free: 18.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.5436, allocations: 4.953 kB / 0.6516 GB, free: 18.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5436, allocations: 11.02 kB / 0.6516 GB, free: 18.37 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004823/0.5485, allocations: 1.972 MB / 0.6535 GB, free: 17.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/0.5489, allocations: 278.3 kB / 0.6538 GB, free: 17.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.549, allocations: 15.7 kB / 0.6538 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009887/0.55, allocations: 118.5 kB / 0.6539 GB, free: 17.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.5501, allocations: 60.66 kB / 0.654 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.837e-05/0.5502, allocations: 33.59 kB / 0.654 GB, free: 17.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009297/0.5512, allocations: 0.771 MB / 0.6547 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5512, allocations: 3.938 kB / 0.6547 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001073/0.5523, allocations: 339.5 kB / 0.6551 GB, free: 17 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.001379/0.5536, allocations: 0.6555 MB / 0.6557 GB, free: 16.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003696/0.5573, allocations: 1.182 MB / 0.6569 GB, free: 16.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5574, allocations: 0.5312 kB / 0.6569 GB, free: 16.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.559, allocations: 0.5754 MB / 0.6574 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.561, allocations: 464.9 kB / 0.6579 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004678/0.5657, allocations: 2.729 MB / 0.6605 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006318/0.5663, allocations: 1.105 MB / 0.6616 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001067/0.5674, allocations: 249.6 kB / 0.6619 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/0.5678, allocations: 107.5 kB / 0.662 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.5678, allocations: 4 kB / 0.662 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of Templates: time 0.03692/0.6047, allocations: 19.7 MB / 0.6812 GB, free: 7.332 MB / 0.4981 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)