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.001098/0.001098, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001168/0.001169, allocations: 191 kB / 16.14 MB, free: 6.688 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.355/1.355, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7911/0.7911, allocations: 132.2 MB / 422.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 64 kB / 0.5011 GB, free: 9.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1599, allocations: 80.2 MB / 0.5794 GB, free: 9.246 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5525/0.7125, allocations: 191.5 MB / 0.7665 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009077/0.7216, allocations: 5.186 MB / 0.7715 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.7228, allocations: 43.69 kB / 0.7716 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001853/0.7246, allocations: 0.7116 MB / 0.7723 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006305/0.731, allocations: 2.452 MB / 0.7747 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002894/0.7339, allocations: 0.998 MB / 0.7756 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003741/0.7377, allocations: 3.617 MB / 0.7792 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.7388, allocations: 0.8651 MB / 0.78 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.7404, allocations: 1.019 MB / 0.781 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.7415, allocations: 1.023 MB / 0.782 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.7416, allocations: 60 kB / 0.7821 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003656/0.7453, allocations: 2.077 MB / 0.7841 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004351/0.7457, allocations: 422.6 kB / 0.7845 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006576/0.7464, allocations: 0.633 MB / 0.7851 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003397/0.7498, allocations: 2.266 MB / 0.7873 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7498, allocations: 0 / 0.7873 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7498, allocations: 0 / 0.7873 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.61e-05/0.7499, allocations: 3.938 kB / 0.7873 GB, free: 14.38 MB / 0.6075 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.005311/0.7552, allocations: 1.964 MB / 0.7893 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.7552, allocations: 8.031 kB / 0.7893 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005725/0.761, allocations: 0.8955 MB / 0.7901 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.7624, allocations: 0.9098 MB / 0.791 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.32e-05/0.7625, allocations: 69.94 kB / 0.7911 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.7627, allocations: 92 kB / 0.7912 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003655/0.7663, allocations: 1.591 MB / 0.7927 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.7664, allocations: 0 / 0.7927 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.7665, allocations: 35.98 kB / 0.7928 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.065e-05/0.7665, allocations: 49.98 kB / 0.7928 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005221/0.7718, allocations: 1.85 MB / 0.7946 GB, free: 6.773 MB / 0.6075 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.0075/0.7793, allocations: 4.724 MB / 0.7992 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004446/0.7837, allocations: 1.568 MB / 0.8008 GB, free: 260 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00237/0.7861, allocations: 0.8517 MB / 0.8016 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001342/0.7875, allocations: 0.9458 MB / 0.8025 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002746/0.7903, allocations: 0.9226 MB / 0.8034 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 3.296e-06/0.7903, allocations: 0 / 0.8034 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.007667/0.7979, allocations: 2.443 MB / 0.8058 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.798, allocations: 64.41 kB / 0.8059 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.7996, allocations: 1.197 MB / 0.807 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.7997, allocations: 49.7 kB / 0.8071 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004752/0.8002, allocations: 0.537 MB / 0.8076 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003172/0.8005, allocations: 331.3 kB / 0.8079 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003483/0.8009, allocations: 190.5 kB / 0.8081 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.801, allocations: 345.9 kB / 0.8084 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00216/0.8032, allocations: 0.7045 MB / 0.8091 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/0.8054, allocations: 0.9034 MB / 0.81 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004207/0.8096, allocations: 1.561 MB / 0.8115 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.8097, allocations: 0 / 0.8115 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004978/0.8146, allocations: 1.772 MB / 0.8133 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.8147, allocations: 12.03 kB / 0.8133 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.8147, allocations: 4 kB / 0.8133 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.8147, allocations: 8 kB / 0.8133 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.8165, allocations: 339.5 kB / 0.8136 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.109e-05/0.8166, allocations: 13.44 kB / 0.8136 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/0.8183, allocations: 262.7 kB / 0.8139 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.8184, allocations: 47.97 kB / 0.8139 GB, free: 2.402 MB / 0.6231 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.0006191/0.8191, allocations: 343.7 kB / 0.8143 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002305/0.8193, allocations: 134.3 kB / 0.8144 GB, free: 1.926 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005011/0.8243, allocations: 1.799 MB / 0.8161 GB, free: 120 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.8243, allocations: 15.94 kB / 0.8162 GB, free: 104 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.8244, allocations: 4 kB / 0.8162 GB, free: 100 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.8244, allocations: 7.969 kB / 0.8162 GB, free: 92 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006926/0.8313, allocations: 3.324 MB / 0.8194 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.8313, allocations: 4 kB / 0.8194 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/0.833, allocations: 296.1 kB / 0.8197 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/0.833, allocations: 8 kB / 0.8197 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.515e-05/0.8331, allocations: 31.97 kB / 0.8197 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.309e-05/0.8331, allocations: 15.92 kB / 0.8198 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.8332, allocations: 4 kB / 0.8198 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007291/0.8404, allocations: 2.843 MB / 0.8225 GB, free: 9.41 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005737/0.841, allocations: 327.1 kB / 0.8228 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/0.8413, allocations: 20 kB / 0.8229 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.8428, allocations: 175.7 kB / 0.823 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.8429, allocations: 72.52 kB / 0.8231 GB, free: 8.809 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.766e-05/0.843, allocations: 39.97 kB / 0.8231 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009826/0.844, allocations: 0.8353 MB / 0.824 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.6e-07/0.844, allocations: 0 / 0.824 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00099/0.845, allocations: 335.6 kB / 0.8243 GB, free: 7.602 MB / 0.6387 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.001218/0.8462, allocations: 0.5317 MB / 0.8248 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00485/0.8511, allocations: 1.622 MB / 0.8264 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8511, allocations: 0 / 0.8264 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002376/0.8535, allocations: 0.84 MB / 0.8272 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/0.8562, allocations: 0.5938 MB / 0.8278 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006169/0.8624, allocations: 3.407 MB / 0.8311 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007325/0.8631, allocations: 1.183 MB / 0.8323 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001911/0.865, allocations: 362 kB / 0.8326 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004701/0.8655, allocations: 115.4 kB / 0.8327 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of SimCode: time 7.92e-07/0.8655, allocations: 0 / 0.8327 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.03669/0.9022, allocations: 22.73 MB / 0.8549 GB, free: 8.617 MB / 0.67 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)