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.001606/0.001606, allocations: 106.1 kB / 16.64 MB, free: 6.816 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.001621/0.001621, allocations: 186 kB / 17.57 MB, free: 5.922 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.442/1.442, allocations: 222.9 MB / 241.3 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8119/0.8119, allocations: 125.4 MB / 416.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002529/0.002529, allocations: 59.91 kB / 0.4943 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.4462, allocations: 78.56 MB / 0.571 GB, free: 30.99 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.671/1.117, allocations: 238.7 MB / 0.8041 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01274/1.13, allocations: 8.389 MB / 0.8123 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00308/1.133, allocations: 67.22 kB / 0.8124 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002915/1.136, allocations: 0.9306 MB / 0.8133 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008364/1.145, allocations: 2.875 MB / 0.8161 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009149/1.154, allocations: 3.275 MB / 0.8193 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006795/1.161, allocations: 3.994 MB / 0.8232 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00281/1.163, allocations: 1.383 MB / 0.8246 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005801/1.169, allocations: 2.258 MB / 0.8268 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002804/1.172, allocations: 1.456 MB / 0.8282 GB, free: 412 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000337/1.172, allocations: 135.9 kB / 0.8283 GB, free: 412 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00891/1.181, allocations: 4.097 MB / 0.8323 GB, free: 372 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001063/1.182, allocations: 0.61 MB / 0.8329 GB, free: 228 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001905/1.184, allocations: 1.004 MB / 0.8339 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006211/1.191, allocations: 2.743 MB / 0.8366 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.191, allocations: 0 / 0.8366 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.255e-06/1.191, allocations: 0 / 0.8366 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.298e-05/1.191, allocations: 3.938 kB / 0.8366 GB, free: 14.54 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.007224/1.198, allocations: 2.655 MB / 0.8392 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/1.198, allocations: 12.31 kB / 0.8392 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008853/1.207, allocations: 1.317 MB / 0.8405 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002477/1.209, allocations: 1.189 MB / 0.8416 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-05/1.209, allocations: 103.1 kB / 0.8417 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002338/1.21, allocations: 135.5 kB / 0.8419 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004666/1.214, allocations: 2.074 MB / 0.8439 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/1.214, allocations: 2.531 kB / 0.8439 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/1.215, allocations: 51.69 kB / 0.8439 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.105e-05/1.215, allocations: 65.5 kB / 0.844 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005882/1.221, allocations: 2.185 MB / 0.8461 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/1.233, allocations: 8.366 MB / 0.8543 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004946/1.238, allocations: 1.88 MB / 0.8561 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002513/1.24, allocations: 0.9744 MB / 0.8571 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001419/1.242, allocations: 0.9502 MB / 0.858 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002728/1.245, allocations: 1.059 MB / 0.8591 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=119): time 4.098e-06/1.245, allocations: 0 / 0.8591 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=119): time 0.008644/1.253, allocations: 2.874 MB / 0.8619 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/1.253, allocations: 64.41 kB / 0.8619 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002415/1.256, allocations: 1.623 MB / 0.8635 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001636/1.256, allocations: 49.7 kB / 0.8636 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007369/1.257, allocations: 0.7963 MB / 0.8643 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004828/1.257, allocations: 406.6 kB / 0.8647 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000481/1.258, allocations: 242.8 kB / 0.865 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001802/1.258, allocations: 353.9 kB / 0.8653 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002519/1.26, allocations: 0.8251 MB / 0.8661 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002862/1.263, allocations: 1.138 MB / 0.8672 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005208/1.269, allocations: 1.929 MB / 0.8691 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/1.269, allocations: 7.938 kB / 0.8691 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006244/1.275, allocations: 2.177 MB / 0.8712 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/1.275, allocations: 8 kB / 0.8712 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/1.275, allocations: 8 kB / 0.8712 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/1.275, allocations: 16.81 kB / 0.8713 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/1.277, allocations: 416.2 kB / 0.8717 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.858e-05/1.277, allocations: 22.61 kB / 0.8717 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002436/1.28, allocations: 326.1 kB / 0.872 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/1.28, allocations: 67.91 kB / 0.8721 GB, free: 12.77 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (161): * Single equations (assignments): 161 * 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.0008466/1.281, allocations: 394.2 kB / 0.8724 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003643/1.281, allocations: 185.7 kB / 0.8726 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005898/1.287, allocations: 2.167 MB / 0.8747 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/1.287, allocations: 15.94 kB / 0.8747 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/1.287, allocations: 0 / 0.8747 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/1.287, allocations: 3.984 kB / 0.8747 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009678/1.297, allocations: 4.476 MB / 0.8791 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/1.297, allocations: 8 kB / 0.8791 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001979/1.299, allocations: 329.2 kB / 0.8794 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-05/1.299, allocations: 15.94 kB / 0.8794 GB, free: 5.141 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/1.299, allocations: 43.97 kB / 0.8795 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.836e-05/1.299, allocations: 21.17 kB / 0.8795 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/1.299, allocations: 14.91 kB / 0.8795 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008711/1.308, allocations: 3.434 MB / 0.8829 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/1.309, allocations: 406.5 kB / 0.8833 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002855/1.309, allocations: 28 kB / 0.8833 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00189/1.311, allocations: 215.5 kB / 0.8835 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/1.311, allocations: 92.41 kB / 0.8836 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/1.311, allocations: 47.97 kB / 0.8836 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001643/1.313, allocations: 1.118 MB / 0.8847 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.552e-06/1.313, allocations: 0 / 0.8847 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001513/1.315, allocations: 490.5 kB / 0.8852 GB, free: 15.17 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (119): * Single equations (assignments): 113 * 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.001976/1.317, allocations: 0.5908 MB / 0.8858 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00612/1.323, allocations: 2.128 MB / 0.8878 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.323, allocations: 3.938 kB / 0.8878 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002667/1.325, allocations: 0.9952 MB / 0.8888 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004395/1.33, allocations: 0.9532 MB / 0.8898 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/1.342, allocations: 4.918 MB / 0.8946 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/1.343, allocations: 1.379 MB / 0.8959 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009048/1.344, allocations: 175.3 kB / 0.8961 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of SimCode: time 8.51e-07/1.344, allocations: 0 / 0.8961 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of Templates: time 0.05066/1.395, allocations: 30.33 MB / 0.9257 GB, free: 6.199 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)