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/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,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.001855/0.001855, allocations: 105.8 kB / 16.41 MB, free: 6.5 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.00219/0.00219, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.758/0.758, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 62.83 kB / 0.582 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1683, allocations: 80.21 MB / 0.6604 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6485/0.8168, allocations: 193.8 MB / 0.8496 GB, free: 292 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009359/0.8262, allocations: 5.13 MB / 0.8547 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.828, allocations: 46.94 kB / 0.8547 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002141/0.8302, allocations: 0.8138 MB / 0.8555 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007136/0.8374, allocations: 2.6 MB / 0.858 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00305/0.8405, allocations: 1.118 MB / 0.8591 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003926/0.8444, allocations: 2.68 MB / 0.8617 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/0.8458, allocations: 0.9422 MB / 0.8627 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00235/0.8482, allocations: 1.134 MB / 0.8638 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.8496, allocations: 0.9885 MB / 0.8647 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.8498, allocations: 88 kB / 0.8648 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00338/0.8532, allocations: 1.785 MB / 0.8666 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004528/0.8537, allocations: 450.6 kB / 0.867 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007675/0.8545, allocations: 0.6721 MB / 0.8676 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003788/0.8582, allocations: 2.224 MB / 0.8698 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.8583, allocations: 0 / 0.8698 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.405e-06/0.8583, allocations: 0 / 0.8698 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.818e-05/0.8583, allocations: 0 / 0.8698 GB, free: 15.44 MB / 0.6387 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.005207/0.8635, allocations: 1.965 MB / 0.8717 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.8636, allocations: 8.031 kB / 0.8717 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005493/0.8691, allocations: 0.8954 MB / 0.8726 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/0.8709, allocations: 0.9684 MB / 0.8736 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.218e-05/0.871, allocations: 77.73 kB / 0.8736 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.8712, allocations: 99.89 kB / 0.8737 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003716/0.8749, allocations: 1.583 MB / 0.8753 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.875, allocations: 0 / 0.8753 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.8751, allocations: 32 kB / 0.8753 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.187e-05/0.8751, allocations: 49.98 kB / 0.8754 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005027/0.8802, allocations: 1.85 MB / 0.8772 GB, free: 7.77 MB / 0.6387 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.007327/0.8875, allocations: 4.722 MB / 0.8818 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0043/0.8919, allocations: 1.573 MB / 0.8833 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002216/0.8941, allocations: 0.8602 MB / 0.8842 GB, free: 380 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/0.8954, allocations: 0.9413 MB / 0.8851 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002464/0.8979, allocations: 0.9105 MB / 0.886 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=95): time 3.476e-06/0.8979, allocations: 0 / 0.886 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95): time 0.007544/0.9054, allocations: 2.454 MB / 0.8884 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.9055, allocations: 64.41 kB / 0.8884 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.9071, allocations: 1.201 MB / 0.8896 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.9073, allocations: 45.7 kB / 0.8896 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004526/0.9077, allocations: 0.5447 MB / 0.8902 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003248/0.9081, allocations: 323.3 kB / 0.8905 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003564/0.9084, allocations: 186.6 kB / 0.8907 GB, free: 9.461 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.9086, allocations: 341.9 kB / 0.891 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/0.9108, allocations: 0.7005 MB / 0.8917 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002351/0.9131, allocations: 0.9229 MB / 0.8926 GB, free: 7.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004403/0.9176, allocations: 1.546 MB / 0.8941 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.9176, allocations: 0 / 0.8941 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005238/0.9228, allocations: 1.784 MB / 0.8958 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.9229, allocations: 8 kB / 0.8958 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.9229, allocations: 4 kB / 0.8958 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/0.923, allocations: 8 kB / 0.8958 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.9247, allocations: 332 kB / 0.8962 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.212e-05/0.9248, allocations: 23.92 kB / 0.8962 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.9265, allocations: 238.6 kB / 0.8964 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.9267, allocations: 47.97 kB / 0.8964 GB, free: 3.383 MB / 0.6544 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 ($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 (121): * Single equations (assignments): 121 * 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.0006434/0.9273, allocations: 335.7 kB / 0.8968 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/0.9276, allocations: 134.4 kB / 0.8969 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005137/0.9328, allocations: 1.811 MB / 0.8987 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.9328, allocations: 8 kB / 0.8987 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.9328, allocations: 0.5 kB / 0.8987 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.9328, allocations: 3.984 kB / 0.8987 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007434/0.9403, allocations: 3.324 MB / 0.9019 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.9403, allocations: 5.125 kB / 0.9019 GB, free: 13.65 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/0.942, allocations: 292.1 kB / 0.9022 GB, free: 13.37 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.497e-05/0.942, allocations: 4 kB / 0.9022 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/0.9422, allocations: 39.97 kB / 0.9022 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.958e-06/0.9422, allocations: 7.938 kB / 0.9023 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.9422, allocations: 8 kB / 0.9023 GB, free: 13.31 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007351/0.9495, allocations: 2.843 MB / 0.905 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006834/0.9503, allocations: 323.1 kB / 0.9053 GB, free: 10.07 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003274/0.9506, allocations: 35.8 kB / 0.9054 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/0.9522, allocations: 155.8 kB / 0.9055 GB, free: 9.883 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.9523, allocations: 64.52 kB / 0.9056 GB, free: 9.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.9524, allocations: 39.97 kB / 0.9056 GB, free: 9.781 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001102/0.9535, allocations: 0.8392 MB / 0.9065 GB, free: 8.938 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.863e-06/0.9536, allocations: 0 / 0.9065 GB, free: 8.938 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001167/0.9547, allocations: 343.5 kB / 0.9068 GB, free: 8.602 MB / 0.67 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 (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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001319/0.9561, allocations: 0.5352 MB / 0.9073 GB, free: 8.266 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004939/0.961, allocations: 1.63 MB / 0.9089 GB, free: 6.637 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.9611, allocations: 4.25 kB / 0.9089 GB, free: 6.633 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002484/0.9635, allocations: 0.8397 MB / 0.9097 GB, free: 5.789 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003277/0.9668, allocations: 0.623 MB / 0.9103 GB, free: 5.191 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006706/0.9736, allocations: 3.033 MB / 0.9133 GB, free: 2.074 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008702/0.9745, allocations: 1.183 MB / 0.9144 GB, free: 0.8594 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007181/0.9752, allocations: 135.3 kB / 0.9146 GB, free: 0.7266 MB / 0.67 GB Notification: Performance of SimCode: time 1.012e-06/0.9752, allocations: 4 kB / 0.9146 GB, free: 0.7227 MB / 0.67 GB Notification: Performance of Templates: time 0.03264/1.008, allocations: 21.71 MB / 0.9358 GB, free: 11.12 MB / 0.7012 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (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)