Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00086/0.00086, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009011/0.0009013, allocations: 177.3 kB / 15.94 MB, free: 228 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.184/1.184, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.826/0.826, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.000289, allocations: 12 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.154, allocations: 82.31 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4157/0.5697, allocations: 160.7 MB / 0.7442 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008714/0.5785, allocations: 5.04 MB / 0.7491 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.5799, allocations: 39.69 kB / 0.7491 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002105/0.582, allocations: 0.7754 MB / 0.7499 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004958/0.587, allocations: 1.776 MB / 0.7516 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003188/0.5902, allocations: 1.173 MB / 0.7528 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002709/0.5929, allocations: 1.688 MB / 0.7544 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.5941, allocations: 0.8183 MB / 0.7552 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.5958, allocations: 0.9697 MB / 0.7562 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008371/0.5966, allocations: 0.7122 MB / 0.7569 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.692e-05/0.5967, allocations: 48 kB / 0.7569 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002213/0.599, allocations: 0.9281 MB / 0.7578 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003282/0.5993, allocations: 382.8 kB / 0.7582 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002719/0.5996, allocations: 265 kB / 0.7584 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.6011, allocations: 1.341 MB / 0.7597 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.6011, allocations: 0 / 0.7597 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6011, allocations: 0 / 0.7597 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.6011, allocations: 0 / 0.7597 GB, free: 11.88 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004312/0.6054, allocations: 1.699 MB / 0.7614 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.6055, allocations: 8.031 kB / 0.7614 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005137/0.6106, allocations: 0.9346 MB / 0.7623 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.6122, allocations: 0.864 MB / 0.7632 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.977e-05/0.6122, allocations: 65.12 kB / 0.7632 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.6124, allocations: 91.98 kB / 0.7633 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003358/0.6158, allocations: 1.571 MB / 0.7648 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.6158, allocations: 4 kB / 0.7648 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.6159, allocations: 35.94 kB / 0.7649 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.287e-05/0.616, allocations: 49.98 kB / 0.7649 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004789/0.6208, allocations: 1.834 MB / 0.7667 GB, free: 4.574 MB / 0.5762 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.006413/0.6272, allocations: 4.287 MB / 0.7709 GB, free: 68 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004172/0.6314, allocations: 1.596 MB / 0.7725 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004346/0.6318, allocations: 174 kB / 0.7726 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00224/0.6341, allocations: 0.895 MB / 0.7735 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 3.136e-06/0.6341, allocations: 0 / 0.7735 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.00719/0.6413, allocations: 2.431 MB / 0.7759 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.6414, allocations: 68.39 kB / 0.7759 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.6429, allocations: 1.178 MB / 0.7771 GB, free: 9.672 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.643, allocations: 49.69 kB / 0.7771 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004484/0.6434, allocations: 0.5447 MB / 0.7777 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002986/0.6438, allocations: 331.3 kB / 0.778 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.861e-05/0.6438, allocations: 20 kB / 0.778 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.644, allocations: 345.9 kB / 0.7783 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/0.646, allocations: 0.6811 MB / 0.779 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00215/0.6482, allocations: 0.8996 MB / 0.7799 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/0.6502, allocations: 0.7133 MB / 0.7806 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.6502, allocations: 4 kB / 0.7806 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004592/0.6548, allocations: 1.753 MB / 0.7823 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.6549, allocations: 8 kB / 0.7823 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.6549, allocations: 7.984 kB / 0.7823 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.6549, allocations: 8 kB / 0.7823 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.6566, allocations: 339.5 kB / 0.7826 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.652e-05/0.6566, allocations: 8 kB / 0.7826 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.6582, allocations: 258.7 kB / 0.7829 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.6583, allocations: 47.97 kB / 0.7829 GB, free: 3.582 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.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 (121): * Single equations (assignments): 121 * 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.0005152/0.6588, allocations: 344.1 kB / 0.7833 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.659, allocations: 134.4 kB / 0.7834 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004716/0.6637, allocations: 1.781 MB / 0.7851 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.6638, allocations: 8 kB / 0.7851 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.6638, allocations: 0 / 0.7851 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.6638, allocations: 9.344 kB / 0.7852 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006703/0.6705, allocations: 3.314 MB / 0.7884 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.6705, allocations: 4.5 kB / 0.7884 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/0.6721, allocations: 287.5 kB / 0.7887 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.36e-05/0.6721, allocations: 8 kB / 0.7887 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.834e-05/0.6722, allocations: 35.97 kB / 0.7887 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.6722, allocations: 8.859 kB / 0.7887 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.6722, allocations: 8.031 kB / 0.7887 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006803/0.679, allocations: 3.028 MB / 0.7917 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005999/0.6797, allocations: 324 kB / 0.792 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.6799, allocations: 28 kB / 0.792 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/0.6812, allocations: 171.8 kB / 0.7922 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.6814, allocations: 76.45 kB / 0.7923 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.684e-05/0.6815, allocations: 39.97 kB / 0.7923 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009331/0.6824, allocations: 0.8236 MB / 0.7931 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6824, allocations: 0 / 0.7931 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009563/0.6834, allocations: 343.5 kB / 0.7934 GB, free: 8.57 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001174/0.6846, allocations: 0.5348 MB / 0.7939 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004365/0.6889, allocations: 1.595 MB / 0.7955 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6889, allocations: 0 / 0.7955 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002132/0.6911, allocations: 0.8282 MB / 0.7963 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/0.6935, allocations: 0.5791 MB / 0.7969 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005726/0.6992, allocations: 3.38 MB / 0.8002 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007193/0.6999, allocations: 1.212 MB / 0.8014 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001388/0.7013, allocations: 358 kB / 0.8017 GB, free: 184 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/0.7017, allocations: 123.2 kB / 0.8018 GB, free: 60 kB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.7017, allocations: 0 / 0.8018 GB, free: 60 kB / 0.6075 GB Notification: Performance of Templates: time 0.03241/0.7342, allocations: 21.9 MB / 0.8232 GB, free: 10.43 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) Environment - environmentSimulation: