Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001452/0.001452, allocations: 115.2 kB / 17.08 MB, free: 5.988 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.001687/0.001687, allocations: 191 kB / 18.01 MB, free: 5.074 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.359/1.359, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7292/0.7292, allocations: 115.3 MB / 407.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 69.31 kB / 0.5584 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1861, allocations: 76.18 MB / 0.6328 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.743/0.9292, allocations: 193.8 MB / 0.822 GB, free: 10 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00895/0.9382, allocations: 5.152 MB / 0.827 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00156/0.9398, allocations: 44.47 kB / 0.8271 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00195/0.9417, allocations: 0.8098 MB / 0.8279 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006692/0.9485, allocations: 2.601 MB / 0.8304 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002822/0.9513, allocations: 1.106 MB / 0.8315 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003589/0.9549, allocations: 2.683 MB / 0.8341 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001393/0.9563, allocations: 0.9414 MB / 0.835 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002056/0.9584, allocations: 1.134 MB / 0.8362 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.9596, allocations: 0.9884 MB / 0.8371 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.9598, allocations: 88.41 kB / 0.8372 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003612/0.9634, allocations: 1.794 MB / 0.839 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004601/0.9639, allocations: 453.3 kB / 0.8394 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007019/0.9646, allocations: 0.6607 MB / 0.84 GB, free: 196 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003585/0.9682, allocations: 2.209 MB / 0.8422 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.9682, allocations: 2.406 kB / 0.8422 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.9682, allocations: 0 / 0.8422 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.088e-05/0.9682, allocations: 0 / 0.8422 GB, free: 14.96 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.00533/0.9736, allocations: 1.959 MB / 0.8441 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.9736, allocations: 7.75 kB / 0.8441 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005445/0.9791, allocations: 0.8951 MB / 0.845 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/0.981, allocations: 0.9776 MB / 0.8459 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.374e-05/0.981, allocations: 70.22 kB / 0.846 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.9812, allocations: 91.44 kB / 0.8461 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003683/0.9849, allocations: 1.581 MB / 0.8476 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.985, allocations: 0 / 0.8476 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.9851, allocations: 35.77 kB / 0.8477 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.006e-05/0.9851, allocations: 54.52 kB / 0.8477 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005125/0.9903, allocations: 1.85 MB / 0.8495 GB, free: 9.637 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.007803/0.9981, allocations: 4.718 MB / 0.8541 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004404/1.003, allocations: 1.569 MB / 0.8557 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002292/1.005, allocations: 0.8467 MB / 0.8565 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/1.006, allocations: 0.9503 MB / 0.8574 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002514/1.009, allocations: 0.9135 MB / 0.8583 GB, free: 276 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=95): time 2.886e-06/1.009, allocations: 0 / 0.8583 GB, free: 276 kB / 0.6075 GB Notification: Performance of matching and sorting (n=95): time 0.007853/1.017, allocations: 2.453 MB / 0.8607 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/1.017, allocations: 64.39 kB / 0.8608 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/1.018, allocations: 1.197 MB / 0.8619 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001173/1.018, allocations: 45.7 kB / 0.862 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004679/1.019, allocations: 0.5403 MB / 0.8625 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003517/1.019, allocations: 333.7 kB / 0.8628 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003707/1.02, allocations: 182.6 kB / 0.863 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000156/1.02, allocations: 345.9 kB / 0.8633 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002168/1.022, allocations: 0.6918 MB / 0.864 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002351/1.024, allocations: 0.9144 MB / 0.8649 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004514/1.029, allocations: 1.551 MB / 0.8664 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/1.029, allocations: 4 kB / 0.8664 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005168/1.034, allocations: 1.777 MB / 0.8682 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/1.034, allocations: 8 kB / 0.8682 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/1.034, allocations: 9.938 kB / 0.8682 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/1.034, allocations: 11.94 kB / 0.8682 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00195/1.036, allocations: 339.5 kB / 0.8685 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.456e-05/1.036, allocations: 11.94 kB / 0.8685 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/1.038, allocations: 242.6 kB / 0.8688 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/1.038, allocations: 47.97 kB / 0.8688 GB, free: 5.379 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.0006373/1.039, allocations: 335.7 kB / 0.8691 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002851/1.039, allocations: 130.4 kB / 0.8692 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005164/1.044, allocations: 1.807 MB / 0.871 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/1.044, allocations: 12 kB / 0.871 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.044, allocations: 0.8125 kB / 0.871 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/1.044, allocations: 11.97 kB / 0.871 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007468/1.052, allocations: 3.331 MB / 0.8743 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.052, allocations: 8.031 kB / 0.8743 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/1.053, allocations: 291.5 kB / 0.8746 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/1.053, allocations: 11.94 kB / 0.8746 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.53e-05/1.053, allocations: 33.09 kB / 0.8746 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.157e-05/1.053, allocations: 11.98 kB / 0.8746 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.053, allocations: 4 kB / 0.8746 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007502/1.061, allocations: 2.847 MB / 0.8774 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007502/1.062, allocations: 323.2 kB / 0.8777 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/1.062, allocations: 24 kB / 0.8777 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/1.063, allocations: 151.8 kB / 0.8779 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/1.064, allocations: 84.42 kB / 0.878 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/1.064, allocations: 36.94 kB / 0.878 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001046/1.065, allocations: 0.8353 MB / 0.8788 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/1.065, allocations: 0 / 0.8788 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001062/1.066, allocations: 343.6 kB / 0.8791 GB, free: 10.62 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.001307/1.067, allocations: 0.5266 MB / 0.8797 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004865/1.072, allocations: 1.644 MB / 0.8813 GB, free: 8.633 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/1.072, allocations: 3.938 kB / 0.8813 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002359/1.074, allocations: 0.8345 MB / 0.8821 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/1.077, allocations: 0.6231 MB / 0.8827 GB, free: 7.184 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006152/1.083, allocations: 3.019 MB / 0.8856 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007884/1.084, allocations: 1.189 MB / 0.8868 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006532/1.085, allocations: 131.3 kB / 0.8869 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of SimCode: time 8.41e-07/1.085, allocations: 0 / 0.8869 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of Templates: time 0.03266/1.117, allocations: 21.91 MB / 0.9083 GB, free: 12.95 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)