Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001266/0.001266, allocations: 106.8 kB / 16.27 MB, free: 6.414 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.001298/0.001298, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.325/1.325, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.821/0.821, allocations: 135.2 MB / 426.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 67.88 kB / 0.506 GB, free: 8.355 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3442, allocations: 80.91 MB / 0.5851 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5729/0.9171, allocations: 193.8 MB / 0.7743 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009026/0.9262, allocations: 5.154 MB / 0.7793 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/0.9278, allocations: 47.12 kB / 0.7794 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.9298, allocations: 0.8166 MB / 0.7802 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007274/0.9371, allocations: 2.599 MB / 0.7827 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002996/0.9401, allocations: 1.105 MB / 0.7838 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003496/0.9436, allocations: 2.681 MB / 0.7864 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.945, allocations: 0.9416 MB / 0.7873 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002233/0.9472, allocations: 1.095 MB / 0.7884 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.9485, allocations: 0.9945 MB / 0.7894 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.9487, allocations: 85.75 kB / 0.7895 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003785/0.9525, allocations: 1.785 MB / 0.7912 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004773/0.9529, allocations: 453.8 kB / 0.7916 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007907/0.9537, allocations: 0.6682 MB / 0.7923 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003607/0.9574, allocations: 2.192 MB / 0.7944 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.9574, allocations: 0.875 kB / 0.7944 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.365e-06/0.9574, allocations: 0 / 0.7944 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.726e-05/0.9574, allocations: 0.7812 kB / 0.7944 GB, free: 0.8477 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.004893/0.9623, allocations: 1.959 MB / 0.7963 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.9624, allocations: 10.77 kB / 0.7964 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00535/0.9677, allocations: 0.8941 MB / 0.7972 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/0.9695, allocations: 0.9092 MB / 0.7981 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.294e-05/0.9696, allocations: 67.12 kB / 0.7982 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.9698, allocations: 94.56 kB / 0.7983 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003627/0.9734, allocations: 1.578 MB / 0.7998 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.9734, allocations: 2.906 kB / 0.7998 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.9735, allocations: 36.78 kB / 0.7999 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.884e-05/0.9736, allocations: 45.55 kB / 0.7999 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004991/0.9786, allocations: 1.851 MB / 0.8017 GB, free: 15.3 MB / 0.5919 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.007753/0.9864, allocations: 4.751 MB / 0.8063 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004243/0.9906, allocations: 1.574 MB / 0.8079 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00223/0.9929, allocations: 0.8575 MB / 0.8087 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001455/0.9943, allocations: 0.9445 MB / 0.8096 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00253/0.9969, allocations: 0.9137 MB / 0.8105 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 3.466e-06/0.9969, allocations: 0 / 0.8105 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.007685/1.005, allocations: 2.455 MB / 0.8129 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.607e-05/1.005, allocations: 63.53 kB / 0.813 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/1.007, allocations: 1.196 MB / 0.8142 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001317/1.007, allocations: 46.11 kB / 0.8142 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005543/1.007, allocations: 0.5435 MB / 0.8147 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004187/1.008, allocations: 324.4 kB / 0.815 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003912/1.008, allocations: 194.7 kB / 0.8152 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001968/1.008, allocations: 349.2 kB / 0.8156 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002382/1.011, allocations: 0.6935 MB / 0.8162 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002342/1.013, allocations: 0.9122 MB / 0.8171 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004306/1.017, allocations: 1.555 MB / 0.8186 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/1.017, allocations: 6.594 kB / 0.8187 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005254/1.023, allocations: 1.778 MB / 0.8204 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/1.023, allocations: 5.781 kB / 0.8204 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/1.023, allocations: 3.656 kB / 0.8204 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/1.023, allocations: 11.56 kB / 0.8204 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/1.025, allocations: 338.9 kB / 0.8207 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/1.025, allocations: 18.3 kB / 0.8207 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/1.026, allocations: 231.6 kB / 0.821 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/1.026, allocations: 50.81 kB / 0.821 GB, free: 9.141 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 ($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.000624/1.027, allocations: 346 kB / 0.8213 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/1.027, allocations: 133.2 kB / 0.8215 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00508/1.032, allocations: 1.803 MB / 0.8232 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/1.032, allocations: 9.281 kB / 0.8232 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.032, allocations: 0 / 0.8232 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/1.032, allocations: 3.984 kB / 0.8232 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007765/1.04, allocations: 3.333 MB / 0.8265 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/1.04, allocations: 4 kB / 0.8265 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/1.042, allocations: 300.7 kB / 0.8268 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/1.042, allocations: 4 kB / 0.8268 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.475e-05/1.042, allocations: 35.97 kB / 0.8268 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/1.042, allocations: 4 kB / 0.8268 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/1.042, allocations: 11.09 kB / 0.8268 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008165/1.05, allocations: 2.844 MB / 0.8296 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008986/1.051, allocations: 327.1 kB / 0.8299 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/1.051, allocations: 27.98 kB / 0.83 GB, free: 2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/1.053, allocations: 154.2 kB / 0.8301 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/1.053, allocations: 71.61 kB / 0.8302 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.773e-05/1.053, allocations: 43.06 kB / 0.8302 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00118/1.054, allocations: 0.8353 MB / 0.831 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.4e-07/1.054, allocations: 0 / 0.831 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001165/1.056, allocations: 335.7 kB / 0.8314 GB, free: 0.5781 MB / 0.5919 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.001842/1.057, allocations: 0.5378 MB / 0.8319 GB, free: 264 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005696/1.063, allocations: 1.782 MB / 0.8336 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.063, allocations: 0 / 0.8336 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002504/1.066, allocations: 0.8331 MB / 0.8344 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003039/1.069, allocations: 0.6161 MB / 0.835 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006628/1.075, allocations: 3.069 MB / 0.838 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008758/1.076, allocations: 1.179 MB / 0.8392 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006875/1.077, allocations: 135.3 kB / 0.8393 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of SimCode: time 1.764e-06/1.077, allocations: 0 / 0.8393 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of Templates: time 0.03522/1.112, allocations: 21.58 MB / 0.8604 GB, free: 3.203 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)