Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.00115/0.00115, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.001382/0.001382, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9946/0.9946, allocations: 143.3 MB / 434.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.0003082, allocations: 8 kB / 0.5158 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1511, allocations: 83.41 MB / 0.5973 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4716/0.6227, allocations: 160.8 MB / 0.7543 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01082/0.6336, allocations: 5.044 MB / 0.7593 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.6351, allocations: 39.69 kB / 0.7593 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00227/0.6374, allocations: 0.7782 MB / 0.7601 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005397/0.6428, allocations: 1.784 MB / 0.7618 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003836/0.6467, allocations: 1.169 MB / 0.7629 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002928/0.6496, allocations: 1.678 MB / 0.7646 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.6509, allocations: 0.8325 MB / 0.7654 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.653, allocations: 0.9618 MB / 0.7663 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.654, allocations: 0.7161 MB / 0.767 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.6542, allocations: 48 kB / 0.7671 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002505/0.6567, allocations: 0.9359 MB / 0.768 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006601/0.6573, allocations: 382.8 kB / 0.7684 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003655/0.6577, allocations: 265 kB / 0.7686 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002096/0.6598, allocations: 1.37 MB / 0.7699 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6598, allocations: 0 / 0.7699 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6599, allocations: 0 / 0.7699 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.099e-05/0.6599, allocations: 8 kB / 0.7699 GB, free: 11.3 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005132/0.665, allocations: 1.7 MB / 0.7716 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.6651, allocations: 12.03 kB / 0.7716 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005818/0.6709, allocations: 0.9345 MB / 0.7725 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.6728, allocations: 0.849 MB / 0.7734 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-05/0.6729, allocations: 77.92 kB / 0.7734 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.6731, allocations: 91.98 kB / 0.7735 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004057/0.6771, allocations: 1.56 MB / 0.775 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.6772, allocations: 0 / 0.775 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/0.6773, allocations: 47.91 kB / 0.7751 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.707e-05/0.6773, allocations: 45.98 kB / 0.7751 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005182/0.6825, allocations: 1.831 MB / 0.7769 GB, free: 4.012 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.007213/0.6898, allocations: 4.3 MB / 0.7811 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004544/0.6943, allocations: 1.59 MB / 0.7827 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004916/0.6948, allocations: 178 kB / 0.7828 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002834/0.6977, allocations: 0.8988 MB / 0.7837 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=95): time 4.478e-06/0.6977, allocations: 0 / 0.7837 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95): time 0.007961/0.7057, allocations: 2.423 MB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.7058, allocations: 68.39 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.7072, allocations: 1.181 MB / 0.7873 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.7073, allocations: 53.69 kB / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004268/0.7078, allocations: 0.541 MB / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002983/0.7081, allocations: 327.3 kB / 0.7882 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.158e-05/0.7081, allocations: 20 kB / 0.7882 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.7083, allocations: 349.9 kB / 0.7886 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/0.7105, allocations: 0.685 MB / 0.7892 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/0.7127, allocations: 0.8918 MB / 0.7901 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002185/0.715, allocations: 0.7172 MB / 0.7908 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.715, allocations: 0 / 0.7908 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00507/0.7201, allocations: 1.758 MB / 0.7925 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.7201, allocations: 4 kB / 0.7925 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.7201, allocations: 9.109 kB / 0.7925 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.765e-05/0.7202, allocations: 16 kB / 0.7925 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.722, allocations: 339.5 kB / 0.7929 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/0.722, allocations: 8 kB / 0.7929 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.7238, allocations: 250.8 kB / 0.7931 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.724, allocations: 51.03 kB / 0.7932 GB, free: 3.008 MB / 0.6075 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 ($whenCondition3,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005906/0.7246, allocations: 343.7 kB / 0.7935 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.7248, allocations: 134.3 kB / 0.7936 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005133/0.7299, allocations: 1.781 MB / 0.7954 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.73, allocations: 8 kB / 0.7954 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.73, allocations: 0 / 0.7954 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.73, allocations: 11.91 kB / 0.7954 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007418/0.7374, allocations: 3.302 MB / 0.7986 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.7375, allocations: 4 kB / 0.7986 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/0.7391, allocations: 292.2 kB / 0.7989 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/0.7392, allocations: 11.94 kB / 0.7989 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.101e-05/0.7393, allocations: 31.97 kB / 0.7989 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/0.7393, allocations: 11.94 kB / 0.7989 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.7393, allocations: 8.781 kB / 0.7989 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007286/0.7466, allocations: 3.017 MB / 0.8019 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007129/0.7473, allocations: 323.2 kB / 0.8022 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/0.7476, allocations: 28 kB / 0.8022 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/0.749, allocations: 175.7 kB / 0.8024 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.7492, allocations: 77.08 kB / 0.8025 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.897e-05/0.7493, allocations: 39.97 kB / 0.8025 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009921/0.7503, allocations: 0.8236 MB / 0.8033 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7503, allocations: 0 / 0.8033 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001012/0.7513, allocations: 343.6 kB / 0.8036 GB, free: 7.996 MB / 0.6231 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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001158/0.7525, allocations: 0.5398 MB / 0.8042 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004721/0.7572, allocations: 1.599 MB / 0.8057 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.7572, allocations: 0 / 0.8057 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002337/0.7596, allocations: 0.8282 MB / 0.8065 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002665/0.7623, allocations: 0.577 MB / 0.8071 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006303/0.7686, allocations: 3.382 MB / 0.8104 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007849/0.7694, allocations: 1.216 MB / 0.8116 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001717/0.7711, allocations: 358 kB / 0.8119 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004412/0.7716, allocations: 119.4 kB / 0.812 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of SimCode: time 7.92e-07/0.7716, allocations: 3.938 kB / 0.812 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of Templates: time 0.0359/0.8075, allocations: 21.93 MB / 0.8335 GB, free: 9.902 MB / 0.6544 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) Environment - environmentSimulation: