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.001456/0.001456, allocations: 111.3 kB / 16.37 MB, free: 6.012 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.001356/0.001356, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7836/0.7836, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.91 kB / 0.5068 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3255, allocations: 80.91 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5043/0.8299, allocations: 193.8 MB / 0.775 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007771/0.8377, allocations: 5.149 MB / 0.7801 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.8391, allocations: 46.11 kB / 0.7801 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001838/0.8409, allocations: 0.8133 MB / 0.7809 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006302/0.8473, allocations: 2.602 MB / 0.7834 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002692/0.85, allocations: 1.111 MB / 0.7845 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003125/0.8531, allocations: 2.681 MB / 0.7871 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.8544, allocations: 0.9387 MB / 0.7881 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/0.8562, allocations: 1.107 MB / 0.7891 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.8573, allocations: 0.9864 MB / 0.7901 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.8575, allocations: 85.69 kB / 0.7902 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003006/0.8605, allocations: 1.793 MB / 0.7919 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003927/0.8609, allocations: 450.9 kB / 0.7924 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006865/0.8616, allocations: 0.6658 MB / 0.793 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003016/0.8646, allocations: 2.22 MB / 0.7952 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8646, allocations: 1.094 kB / 0.7952 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8646, allocations: 2.531 kB / 0.7952 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.8647, allocations: 0 / 0.7952 GB, free: 0.7969 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.004479/0.8691, allocations: 1.962 MB / 0.7971 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.8692, allocations: 11.89 kB / 0.7971 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005111/0.8743, allocations: 0.8976 MB / 0.798 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002079/0.8764, allocations: 0.9692 MB / 0.7989 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.158e-05/0.8765, allocations: 71.34 kB / 0.799 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.8767, allocations: 92.39 kB / 0.7991 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003284/0.88, allocations: 1.584 MB / 0.8006 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.88, allocations: 3.094 kB / 0.8006 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.8801, allocations: 38.64 kB / 0.8007 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.596e-05/0.8802, allocations: 50.03 kB / 0.8007 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004626/0.8848, allocations: 1.844 MB / 0.8025 GB, free: 15.23 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.007261/0.8921, allocations: 4.718 MB / 0.8071 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003886/0.896, allocations: 1.577 MB / 0.8087 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00197/0.898, allocations: 0.8571 MB / 0.8095 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/0.8992, allocations: 0.9411 MB / 0.8104 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002249/0.9015, allocations: 0.9187 MB / 0.8113 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 3.336e-06/0.9015, allocations: 0 / 0.8113 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.006769/0.9083, allocations: 2.451 MB / 0.8137 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.9083, allocations: 69.09 kB / 0.8138 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.9096, allocations: 1.198 MB / 0.815 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.9098, allocations: 46.42 kB / 0.815 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/0.9101, allocations: 0.5418 MB / 0.8155 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/0.9104, allocations: 323.7 kB / 0.8158 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000369/0.9108, allocations: 187.1 kB / 0.816 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.9109, allocations: 344 kB / 0.8164 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/0.913, allocations: 0.6989 MB / 0.817 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/0.9151, allocations: 0.9118 MB / 0.8179 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003839/0.9189, allocations: 1.553 MB / 0.8194 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.9189, allocations: 3.938 kB / 0.8194 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004685/0.9236, allocations: 1.782 MB / 0.8212 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.9237, allocations: 5.625 kB / 0.8212 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.9237, allocations: 2.719 kB / 0.8212 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.9237, allocations: 11.66 kB / 0.8212 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/0.9255, allocations: 340.2 kB / 0.8215 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/0.9255, allocations: 14.75 kB / 0.8215 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.9272, allocations: 233.6 kB / 0.8218 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.9273, allocations: 50.34 kB / 0.8218 GB, free: 9.082 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.0005509/0.9278, allocations: 338.2 kB / 0.8221 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.9281, allocations: 138.3 kB / 0.8223 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004651/0.9327, allocations: 1.798 MB / 0.824 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.9328, allocations: 10.56 kB / 0.824 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.9328, allocations: 4 kB / 0.824 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/0.9328, allocations: 7.969 kB / 0.824 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007071/0.9399, allocations: 3.34 MB / 0.8273 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.669e-06/0.9399, allocations: 4 kB / 0.8273 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/0.9416, allocations: 293.3 kB / 0.8276 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/0.9416, allocations: 8 kB / 0.8276 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.9417, allocations: 35.97 kB / 0.8276 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.447e-05/0.9417, allocations: 15.17 kB / 0.8276 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.9417, allocations: 4 kB / 0.8277 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00695/0.9487, allocations: 2.835 MB / 0.8304 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008262/0.9496, allocations: 327.1 kB / 0.8307 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/0.9498, allocations: 32.09 kB / 0.8308 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.9511, allocations: 157.9 kB / 0.8309 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.9513, allocations: 71.58 kB / 0.831 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.9514, allocations: 47.97 kB / 0.831 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009676/0.9524, allocations: 0.8315 MB / 0.8318 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9524, allocations: 0 / 0.8318 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001037/0.9534, allocations: 335.7 kB / 0.8322 GB, free: 412 kB / 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.00121/0.9546, allocations: 0.5344 MB / 0.8327 GB, free: 88 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00452/0.9592, allocations: 1.63 MB / 0.8343 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.9592, allocations: 8.25 kB / 0.8343 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002254/0.9615, allocations: 0.8289 MB / 0.8351 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/0.9641, allocations: 0.6142 MB / 0.8357 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005609/0.9697, allocations: 2.974 MB / 0.8386 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006879/0.9704, allocations: 1.183 MB / 0.8397 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001318/0.9718, allocations: 366 kB / 0.8401 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004214/0.9722, allocations: 115.4 kB / 0.8402 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of SimCode: time 8.92e-07/0.9722, allocations: 0 / 0.8402 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of Templates: time 0.03699/1.009, allocations: 23.75 MB / 0.8634 GB, free: 0.9727 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)