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.001155/0.001155, allocations: 101.7 kB / 16.35 MB, free: 5.875 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.001096/0.001096, allocations: 196 kB / 17.3 MB, free: 5.516 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7735/0.7735, allocations: 132.2 MB / 423.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.89 kB / 0.5032 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3749, allocations: 80.18 MB / 0.5815 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5542/0.9291, allocations: 193.8 MB / 0.7707 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008726/0.9379, allocations: 5.143 MB / 0.7758 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.9394, allocations: 49.78 kB / 0.7758 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.9414, allocations: 0.8134 MB / 0.7766 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006559/0.948, allocations: 2.603 MB / 0.7792 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003181/0.9512, allocations: 1.107 MB / 0.7802 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004503/0.9557, allocations: 2.683 MB / 0.7829 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.957, allocations: 0.9482 MB / 0.7838 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002151/0.9592, allocations: 1.103 MB / 0.7849 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.9605, allocations: 0.9855 MB / 0.7858 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.9607, allocations: 88.12 kB / 0.7859 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003848/0.9645, allocations: 1.794 MB / 0.7877 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005154/0.9651, allocations: 454.2 kB / 0.7881 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009251/0.966, allocations: 0.6654 MB / 0.7887 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003668/0.9697, allocations: 2.223 MB / 0.7909 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.9697, allocations: 0 / 0.7909 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.255e-06/0.9697, allocations: 0 / 0.7909 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.558e-05/0.9697, allocations: 0.75 kB / 0.7909 GB, free: 0.9219 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.005047/0.9748, allocations: 1.956 MB / 0.7928 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.9748, allocations: 10.84 kB / 0.7928 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005313/0.9802, allocations: 0.8963 MB / 0.7937 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/0.982, allocations: 0.9736 MB / 0.7947 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.126e-05/0.982, allocations: 74.7 kB / 0.7947 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.9822, allocations: 91.7 kB / 0.7948 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003306/0.9855, allocations: 1.583 MB / 0.7964 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.9856, allocations: 0.9375 kB / 0.7964 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.954e-05/0.9857, allocations: 36.23 kB / 0.7964 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.873e-05/0.9857, allocations: 51.42 kB / 0.7964 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004661/0.9904, allocations: 1.846 MB / 0.7982 GB, free: 15.36 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.007497/0.9979, allocations: 4.724 MB / 0.8029 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003976/1.002, allocations: 1.581 MB / 0.8044 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002039/1.004, allocations: 0.8543 MB / 0.8052 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/1.005, allocations: 0.94 MB / 0.8062 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002303/1.008, allocations: 0.9142 MB / 0.8071 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 3.797e-06/1.008, allocations: 0 / 0.8071 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.007188/1.015, allocations: 2.452 MB / 0.8094 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/1.015, allocations: 65.36 kB / 0.8095 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/1.016, allocations: 1.196 MB / 0.8107 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001289/1.017, allocations: 48.8 kB / 0.8107 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004216/1.017, allocations: 0.5449 MB / 0.8113 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003196/1.017, allocations: 321.6 kB / 0.8116 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003922/1.018, allocations: 188.7 kB / 0.8117 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001236/1.018, allocations: 343.3 kB / 0.8121 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00203/1.02, allocations: 0.6989 MB / 0.8128 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002264/1.022, allocations: 0.9129 MB / 0.8136 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004259/1.026, allocations: 1.548 MB / 0.8152 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/1.026, allocations: 1.406 kB / 0.8152 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005865/1.032, allocations: 1.785 MB / 0.8169 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/1.032, allocations: 8.625 kB / 0.8169 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/1.032, allocations: 6.719 kB / 0.8169 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.796e-05/1.033, allocations: 10.72 kB / 0.8169 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/1.034, allocations: 342.2 kB / 0.8172 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.693e-05/1.034, allocations: 13.05 kB / 0.8173 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/1.036, allocations: 234.5 kB / 0.8175 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/1.036, allocations: 45.72 kB / 0.8175 GB, free: 9.5 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.0007075/1.037, allocations: 337 kB / 0.8179 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004337/1.038, allocations: 138.9 kB / 0.818 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005037/1.043, allocations: 1.811 MB / 0.8198 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/1.043, allocations: 13.84 kB / 0.8198 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.043, allocations: 0 / 0.8198 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/1.043, allocations: 3.984 kB / 0.8198 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007493/1.05, allocations: 3.323 MB / 0.823 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/1.05, allocations: 4.688 kB / 0.823 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/1.052, allocations: 300.1 kB / 0.8233 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.956e-05/1.052, allocations: 4 kB / 0.8233 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/1.052, allocations: 35.97 kB / 0.8233 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.331e-05/1.052, allocations: 7.188 kB / 0.8233 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.052, allocations: 8 kB / 0.8234 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007787/1.06, allocations: 2.85 MB / 0.8261 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000798/1.061, allocations: 323.1 kB / 0.8264 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002959/1.061, allocations: 27.98 kB / 0.8265 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/1.063, allocations: 163.5 kB / 0.8266 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/1.063, allocations: 63.7 kB / 0.8267 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/1.063, allocations: 47.95 kB / 0.8267 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001119/1.064, allocations: 0.8314 MB / 0.8275 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/1.064, allocations: 0 / 0.8275 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001089/1.065, allocations: 343.7 kB / 0.8279 GB, free: 2.641 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.001292/1.066, allocations: 0.5333 MB / 0.8284 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004758/1.071, allocations: 1.632 MB / 0.83 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.071, allocations: 0 / 0.83 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002342/1.074, allocations: 0.8358 MB / 0.8308 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/1.076, allocations: 0.6174 MB / 0.8314 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005996/1.082, allocations: 2.965 MB / 0.8343 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008578/1.083, allocations: 1.179 MB / 0.8355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00132/1.084, allocations: 366 kB / 0.8358 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000467/1.085, allocations: 115.4 kB / 0.8359 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of SimCode: time 6.71e-07/1.085, allocations: 0 / 0.8359 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of Templates: time 0.03997/1.125, allocations: 23.75 MB / 0.8591 GB, free: 3.246 MB / 0.6231 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)