Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 102.2 kB / 16.27 MB, free: 5.93 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.001275/0.001275, allocations: 188.6 kB / 17.2 MB, free: 5.574 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.392/1.392, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8568/0.8568, allocations: 125.4 MB / 416.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 63.91 kB / 0.4941 GB, free: 4.387 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3739, allocations: 78.56 MB / 0.5709 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.6756/1.05, allocations: 241.7 MB / 0.8069 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01298/1.063, allocations: 8.41 MB / 0.8151 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002682/1.065, allocations: 67.78 kB / 0.8152 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003007/1.068, allocations: 1.056 MB / 0.8162 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008051/1.076, allocations: 3.064 MB / 0.8192 GB, free: 1 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008843/1.085, allocations: 3.524 MB / 0.8226 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006025/1.091, allocations: 3.884 MB / 0.8264 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/1.094, allocations: 1.36 MB / 0.8277 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00557/1.099, allocations: 2.171 MB / 0.8299 GB, free: 496 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002966/1.102, allocations: 1.358 MB / 0.8312 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004795/1.103, allocations: 129.6 kB / 0.8313 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00895/1.112, allocations: 3.927 MB / 0.8351 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001445/1.113, allocations: 0.599 MB / 0.8357 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002714/1.116, allocations: 0.9878 MB / 0.8367 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01071/1.127, allocations: 3.816 MB / 0.8404 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/1.127, allocations: 0 / 0.8404 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.884e-06/1.127, allocations: 0 / 0.8404 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.333e-05/1.127, allocations: 0 / 0.8404 GB, free: 12.7 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.007995/1.135, allocations: 2.629 MB / 0.843 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.135, allocations: 13.62 kB / 0.843 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007749/1.143, allocations: 1.132 MB / 0.8441 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003049/1.146, allocations: 1.165 MB / 0.8452 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/1.146, allocations: 105.2 kB / 0.8453 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002902/1.146, allocations: 128.5 kB / 0.8455 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004468/1.151, allocations: 1.955 MB / 0.8474 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/1.151, allocations: 6.625 kB / 0.8474 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/1.151, allocations: 54.19 kB / 0.8474 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.087e-05/1.151, allocations: 64.91 kB / 0.8475 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005148/1.156, allocations: 1.892 MB / 0.8493 GB, free: 5.801 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/1.169, allocations: 8.7 MB / 0.8578 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004154/1.174, allocations: 1.512 MB / 0.8593 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002053/1.176, allocations: 0.796 MB / 0.8601 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001514/1.177, allocations: 0.9424 MB / 0.861 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002275/1.18, allocations: 0.8823 MB / 0.8619 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=106): time 3.577e-06/1.18, allocations: 0 / 0.8619 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=106): time 0.007294/1.187, allocations: 2.375 MB / 0.8642 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/1.187, allocations: 68.34 kB / 0.8643 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002652/1.19, allocations: 1.721 MB / 0.8659 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001888/1.19, allocations: 45.7 kB / 0.866 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007805/1.191, allocations: 0.8207 MB / 0.8668 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004389/1.191, allocations: 364.7 kB / 0.8671 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004212/1.191, allocations: 238.7 kB / 0.8674 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001777/1.192, allocations: 353.9 kB / 0.8677 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001978/1.194, allocations: 0.673 MB / 0.8684 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/1.196, allocations: 1.055 MB / 0.8694 GB, free: 440 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00419/1.2, allocations: 1.703 MB / 0.8711 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/1.2, allocations: 4 kB / 0.8711 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005244/1.205, allocations: 1.925 MB / 0.8729 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/1.206, allocations: 10.03 kB / 0.8729 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/1.206, allocations: 12 kB / 0.873 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.778e-05/1.206, allocations: 20.73 kB / 0.873 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/1.207, allocations: 368.2 kB / 0.8733 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.439e-05/1.207, allocations: 28.98 kB / 0.8734 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/1.209, allocations: 248.6 kB / 0.8736 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/1.21, allocations: 67.97 kB / 0.8737 GB, free: 12.04 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (157): * Single equations (assignments): 157 * 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.000787/1.21, allocations: 397.7 kB / 0.874 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004137/1.211, allocations: 193.6 kB / 0.8742 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004968/1.216, allocations: 1.814 MB / 0.876 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/1.216, allocations: 8 kB / 0.876 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/1.216, allocations: 7.938 kB / 0.876 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/1.216, allocations: 3.984 kB / 0.876 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009999/1.226, allocations: 3.984 MB / 0.8799 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/1.226, allocations: 8 kB / 0.8799 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/1.228, allocations: 269.1 kB / 0.8802 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.23e-05/1.228, allocations: 11.94 kB / 0.8802 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/1.228, allocations: 43.97 kB / 0.8802 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.102e-05/1.228, allocations: 21.05 kB / 0.8802 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/1.228, allocations: 10.53 kB / 0.8803 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007445/1.235, allocations: 2.906 MB / 0.8831 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/1.236, allocations: 390.4 kB / 0.8835 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005012/1.237, allocations: 34.44 kB / 0.8835 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/1.239, allocations: 123.9 kB / 0.8836 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002275/1.239, allocations: 89.59 kB / 0.8837 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/1.239, allocations: 47.97 kB / 0.8837 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002212/1.241, allocations: 1.171 MB / 0.8849 GB, free: 352 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/1.241, allocations: 0 / 0.8849 GB, free: 352 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00201/1.243, allocations: 463.5 kB / 0.8853 GB, free: 15.89 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (106): * Single equations (assignments): 100 * 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.002083/1.245, allocations: 0.5963 MB / 0.8859 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005651/1.251, allocations: 1.776 MB / 0.8876 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.251, allocations: 0 / 0.8876 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002511/1.254, allocations: 0.8188 MB / 0.8884 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005569/1.259, allocations: 0.9682 MB / 0.8894 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007408/1.267, allocations: 3.383 MB / 0.8927 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/1.268, allocations: 1.36 MB / 0.894 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002629/1.271, allocations: 463 kB / 0.8945 GB, free: 6.758 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006387/1.271, allocations: 151.4 kB / 0.8946 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of SimCode: time 9.32e-07/1.271, allocations: 0 / 0.8946 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of Templates: time 0.06391/1.335, allocations: 34.22 MB / 0.928 GB, free: 4.934 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)