Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 104.1 kB / 16.4 MB, free: 6.457 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.001215/0.001215, allocations: 196 kB / 17.34 MB, free: 5.715 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7977/0.7977, allocations: 126.1 MB / 417.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.17 kB / 0.5731 GB, free: 27.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1687, allocations: 78.69 MB / 0.65 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.543/0.7117, allocations: 193.8 MB / 0.8392 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0103/0.722, allocations: 5.139 MB / 0.8443 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001889/0.724, allocations: 51.28 kB / 0.8443 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002156/0.7262, allocations: 0.8097 MB / 0.8451 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006954/0.7332, allocations: 2.6 MB / 0.8476 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003219/0.7364, allocations: 1.105 MB / 0.8487 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004521/0.7409, allocations: 2.618 MB / 0.8513 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/0.7427, allocations: 0.8859 MB / 0.8521 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002359/0.7451, allocations: 1.09 MB / 0.8532 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001737/0.7468, allocations: 0.9496 MB / 0.8541 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003088/0.7471, allocations: 77.91 kB / 0.8542 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004207/0.7514, allocations: 1.786 MB / 0.8559 GB, free: 1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009982/0.7524, allocations: 428 kB / 0.8564 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002076/0.7545, allocations: 0.6493 MB / 0.857 GB, free: 304 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00644/0.7609, allocations: 2.158 MB / 0.8591 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.761, allocations: 7.984 kB / 0.8591 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.324e-06/0.761, allocations: 0 / 0.8591 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.02e-05/0.7611, allocations: 0 / 0.8591 GB, free: 14.21 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005767/0.7669, allocations: 1.971 MB / 0.861 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.7669, allocations: 23.89 kB / 0.861 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004048/0.771, allocations: 0.6623 MB / 0.8617 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.7728, allocations: 0.9577 MB / 0.8626 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.732e-05/0.7729, allocations: 65.98 kB / 0.8627 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.773, allocations: 88 kB / 0.8628 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003331/0.7764, allocations: 1.478 MB / 0.8642 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.7764, allocations: 4 kB / 0.8642 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.941e-05/0.7765, allocations: 33.44 kB / 0.8643 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.633e-05/0.7766, allocations: 49.98 kB / 0.8643 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00421/0.7808, allocations: 1.518 MB / 0.8658 GB, free: 7.172 MB / 0.6231 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.008612/0.7894, allocations: 5.488 MB / 0.8711 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003695/0.7931, allocations: 1.276 MB / 0.8724 GB, free: 120 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/0.7949, allocations: 0.6623 MB / 0.873 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008835/0.7958, allocations: 0.5851 MB / 0.8736 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001861/0.7977, allocations: 0.699 MB / 0.8743 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=80): time 3.416e-06/0.7977, allocations: 0 / 0.8743 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of matching and sorting (n=80): time 0.00584/0.8035, allocations: 1.89 MB / 0.8761 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.8036, allocations: 60.06 kB / 0.8762 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/0.8052, allocations: 1.239 MB / 0.8774 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.513e-05/0.8053, allocations: 45.7 kB / 0.8774 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000474/0.8058, allocations: 0.5878 MB / 0.878 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/0.806, allocations: 293.5 kB / 0.8783 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003506/0.8064, allocations: 190.5 kB / 0.8785 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.8065, allocations: 337.9 kB / 0.8788 GB, free: 9.367 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.8082, allocations: 0.5367 MB / 0.8793 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/0.81, allocations: 0.8213 MB / 0.8801 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003399/0.8135, allocations: 1.324 MB / 0.8814 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.8135, allocations: 4 kB / 0.8814 GB, free: 6.465 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004109/0.8176, allocations: 1.503 MB / 0.8829 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.8176, allocations: 8 kB / 0.8829 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.8177, allocations: 8 kB / 0.8829 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/0.8177, allocations: 12 kB / 0.8829 GB, free: 4.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.8191, allocations: 287.9 kB / 0.8832 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/0.8192, allocations: 27.86 kB / 0.8832 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.8205, allocations: 199.1 kB / 0.8834 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.8207, allocations: 47.98 kB / 0.8835 GB, free: 4.379 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0005312/0.8212, allocations: 347.6 kB / 0.8838 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/0.8214, allocations: 147 kB / 0.8839 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003964/0.8254, allocations: 1.406 MB / 0.8853 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.8254, allocations: 8 kB / 0.8853 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.8255, allocations: 0 / 0.8853 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.8255, allocations: 3.984 kB / 0.8853 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005838/0.8313, allocations: 2.803 MB / 0.8881 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.8313, allocations: 4 kB / 0.8881 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/0.8326, allocations: 228.1 kB / 0.8883 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/0.8326, allocations: 8 kB / 0.8883 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-05/0.8327, allocations: 27.97 kB / 0.8883 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/0.8327, allocations: 8 kB / 0.8883 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.8327, allocations: 9 kB / 0.8883 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005533/0.8383, allocations: 2.252 MB / 0.8905 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005157/0.8388, allocations: 304 kB / 0.8908 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/0.839, allocations: 20 kB / 0.8908 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.8402, allocations: 115.9 kB / 0.8909 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.8403, allocations: 60.38 kB / 0.891 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-05/0.8404, allocations: 39.97 kB / 0.891 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001099/0.8415, allocations: 0.8522 MB / 0.8919 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8415, allocations: 0 / 0.8919 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001118/0.8427, allocations: 319.6 kB / 0.8922 GB, free: 11.25 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (80): * Single equations (assignments): 74 * 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.001309/0.844, allocations: 0.5306 MB / 0.8927 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003887/0.8479, allocations: 1.29 MB / 0.894 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.8479, allocations: 0 / 0.894 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.8498, allocations: 0.6404 MB / 0.8946 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0033/0.8531, allocations: 0.5972 MB / 0.8952 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00565/0.8588, allocations: 2.605 MB / 0.8977 GB, free: 5.676 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008065/0.8596, allocations: 1.175 MB / 0.8989 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001324/0.8609, allocations: 341.9 kB / 0.8992 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004289/0.8614, allocations: 115.4 kB / 0.8993 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of SimCode: time 9.62e-07/0.8614, allocations: 0 / 0.8993 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of Templates: time 0.03902/0.9004, allocations: 22.37 MB / 0.9211 GB, free: 13.89 MB / 0.6856 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)