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.001712/0.001712, allocations: 98.55 kB / 15.98 MB, free: 6.363 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.00203/0.00203, allocations: 199 kB / 16.91 MB, free: 6.199 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.425/1.425, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7628/0.7628, allocations: 122.9 MB / 413.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 59.91 kB / 0.4906 GB, free: 7.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.4109, allocations: 77.92 MB / 0.5667 GB, free: 32.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6247/1.036, allocations: 191.3 MB / 0.7535 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008994/1.045, allocations: 5.127 MB / 0.7585 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/1.047, allocations: 44.12 kB / 0.7586 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002398/1.049, allocations: 0.7313 MB / 0.7593 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007714/1.057, allocations: 2.452 MB / 0.7617 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003381/1.06, allocations: 1.006 MB / 0.7627 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004716/1.065, allocations: 2.7 MB / 0.7653 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001819/1.067, allocations: 0.9471 MB / 0.7662 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002735/1.07, allocations: 1.134 MB / 0.7673 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/1.072, allocations: 1.054 MB / 0.7684 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002343/1.072, allocations: 87.11 kB / 0.7684 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004082/1.076, allocations: 1.857 MB / 0.7703 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007582/1.077, allocations: 458.2 kB / 0.7707 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001304/1.078, allocations: 0.6657 MB / 0.7713 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004777/1.083, allocations: 2.304 MB / 0.7736 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.083, allocations: 1.375 kB / 0.7736 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/1.083, allocations: 0 / 0.7736 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.024e-05/1.083, allocations: 1.5 kB / 0.7736 GB, free: 1.355 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.005903/1.089, allocations: 1.953 MB / 0.7755 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/1.089, allocations: 11.59 kB / 0.7755 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005848/1.095, allocations: 0.8976 MB / 0.7764 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/1.096, allocations: 0.9058 MB / 0.7773 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-05/1.097, allocations: 70.16 kB / 0.7773 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/1.097, allocations: 89.81 kB / 0.7774 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003785/1.101, allocations: 1.582 MB / 0.779 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/1.101, allocations: 2.406 kB / 0.779 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/1.101, allocations: 37.56 kB / 0.779 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.489e-05/1.101, allocations: 46.56 kB / 0.7791 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005232/1.106, allocations: 1.855 MB / 0.7809 GB, free: 15.82 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.009634/1.116, allocations: 4.734 MB / 0.7855 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004166/1.12, allocations: 1.565 MB / 0.787 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00212/1.122, allocations: 0.8449 MB / 0.7878 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/1.123, allocations: 0.9458 MB / 0.7888 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002414/1.126, allocations: 0.9117 MB / 0.7897 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 3.506e-06/1.126, allocations: 1.062 kB / 0.7897 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.007453/1.133, allocations: 2.456 MB / 0.7921 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/1.133, allocations: 59.16 kB / 0.7921 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/1.135, allocations: 1.197 MB / 0.7933 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001567/1.135, allocations: 55.14 kB / 0.7933 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003837/1.135, allocations: 0.5417 MB / 0.7939 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003458/1.136, allocations: 327.7 kB / 0.7942 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000353/1.136, allocations: 188.6 kB / 0.7944 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001649/1.136, allocations: 342.6 kB / 0.7947 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002044/1.138, allocations: 0.6971 MB / 0.7954 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/1.141, allocations: 0.9102 MB / 0.7962 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004081/1.145, allocations: 1.557 MB / 0.7978 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/1.145, allocations: 6.406 kB / 0.7978 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004916/1.15, allocations: 1.776 MB / 0.7995 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/1.15, allocations: 4.844 kB / 0.7995 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/1.15, allocations: 5.188 kB / 0.7995 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/1.15, allocations: 7.812 kB / 0.7995 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/1.152, allocations: 345.2 kB / 0.7999 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.981e-05/1.152, allocations: 7.938 kB / 0.7999 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/1.154, allocations: 260.2 kB / 0.8001 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/1.154, allocations: 54.02 kB / 0.8002 GB, free: 11.11 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.0008611/1.155, allocations: 332.7 kB / 0.8005 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000411/1.155, allocations: 138.4 kB / 0.8006 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005454/1.16, allocations: 1.798 MB / 0.8024 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/1.16, allocations: 9.094 kB / 0.8024 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.16, allocations: 0 / 0.8024 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/1.161, allocations: 5.688 kB / 0.8024 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007271/1.168, allocations: 3.341 MB / 0.8056 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/1.168, allocations: 9.781 kB / 0.8057 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/1.17, allocations: 296.4 kB / 0.8059 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.612e-05/1.17, allocations: 7.906 kB / 0.8059 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/1.17, allocations: 33.06 kB / 0.806 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.236e-05/1.17, allocations: 7.25 kB / 0.806 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/1.17, allocations: 9.469 kB / 0.806 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007425/1.177, allocations: 2.845 MB / 0.8088 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/1.178, allocations: 323.5 kB / 0.8091 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/1.178, allocations: 25.02 kB / 0.8091 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/1.18, allocations: 183.5 kB / 0.8093 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/1.18, allocations: 70.86 kB / 0.8093 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/1.18, allocations: 41.44 kB / 0.8094 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001262/1.182, allocations: 0.8317 MB / 0.8102 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.182, allocations: 5.75 kB / 0.8102 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001348/1.183, allocations: 339.2 kB / 0.8105 GB, free: 8.043 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.001549/1.184, allocations: 0.5232 MB / 0.811 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005471/1.19, allocations: 1.776 MB / 0.8128 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.19, allocations: 0 / 0.8128 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002341/1.192, allocations: 0.8435 MB / 0.8136 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00327/1.196, allocations: 0.6254 MB / 0.8142 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006778/1.202, allocations: 3.406 MB / 0.8175 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007909/1.203, allocations: 1.185 MB / 0.8187 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002162/1.205, allocations: 354 kB / 0.819 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004758/1.206, allocations: 114.5 kB / 0.8191 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of SimCode: time 1.953e-06/1.206, allocations: 0 / 0.8191 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of Templates: time 0.04485/1.251, allocations: 23.56 MB / 0.8421 GB, free: 10.99 MB / 0.6231 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)