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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001276/0.001276, allocations: 103.2 kB / 16.27 MB, free: 6.414 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.0013/0.0013, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.276/1.276, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8294/0.8294, allocations: 143.1 MB / 434.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 67.91 kB / 0.5148 GB, free: 15.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.345, allocations: 82.03 MB / 0.5949 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5107/0.8557, allocations: 193.9 MB / 0.7843 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007633/0.8634, allocations: 5.157 MB / 0.7893 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.8651, allocations: 50.72 kB / 0.7894 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001811/0.8669, allocations: 0.8118 MB / 0.7902 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006096/0.8731, allocations: 2.595 MB / 0.7927 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002554/0.8756, allocations: 1.114 MB / 0.7938 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002962/0.8786, allocations: 2.676 MB / 0.7964 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.88, allocations: 0.9449 MB / 0.7973 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.882, allocations: 1.094 MB / 0.7984 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.8833, allocations: 0.9904 MB / 0.7994 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.8835, allocations: 85.41 kB / 0.7995 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003183/0.8867, allocations: 1.791 MB / 0.8012 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004099/0.8871, allocations: 448.8 kB / 0.8016 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006894/0.8878, allocations: 0.6647 MB / 0.8023 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003021/0.8908, allocations: 2.235 MB / 0.8045 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.8909, allocations: 4.25 kB / 0.8045 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8909, allocations: 0 / 0.8045 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.82e-05/0.8909, allocations: 4.75 kB / 0.8045 GB, free: 0.5039 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.00466/0.8956, allocations: 1.966 MB / 0.8064 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.8956, allocations: 11.09 kB / 0.8064 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005278/0.9009, allocations: 0.8991 MB / 0.8073 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.9023, allocations: 0.9041 MB / 0.8082 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-05/0.9024, allocations: 67.12 kB / 0.8082 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.9026, allocations: 92.45 kB / 0.8083 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003348/0.9059, allocations: 1.578 MB / 0.8099 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.906, allocations: 5.719 kB / 0.8099 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.9061, allocations: 42.31 kB / 0.8099 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.142e-05/0.9061, allocations: 53.59 kB / 0.81 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00488/0.911, allocations: 1.852 MB / 0.8118 GB, free: 14.93 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.007569/0.9186, allocations: 4.753 MB / 0.8164 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004184/0.9228, allocations: 1.554 MB / 0.8179 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002189/0.925, allocations: 0.8571 MB / 0.8188 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/0.9263, allocations: 0.9425 MB / 0.8197 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002396/0.9287, allocations: 0.9094 MB / 0.8206 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 3.105e-06/0.9287, allocations: 3.938 kB / 0.8206 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.007509/0.9362, allocations: 2.455 MB / 0.823 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.9363, allocations: 60.34 kB / 0.823 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.9378, allocations: 1.201 MB / 0.8242 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.938, allocations: 46.77 kB / 0.8242 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004383/0.9384, allocations: 0.5406 MB / 0.8248 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/0.9388, allocations: 327.2 kB / 0.8251 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003394/0.9391, allocations: 184 kB / 0.8253 GB, free: 9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.9392, allocations: 348 kB / 0.8256 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002204/0.9415, allocations: 0.702 MB / 0.8263 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002278/0.9437, allocations: 0.9063 MB / 0.8272 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004264/0.948, allocations: 1.554 MB / 0.8287 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.948, allocations: 2.844 kB / 0.8287 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005204/0.9533, allocations: 1.781 MB / 0.8304 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.9533, allocations: 8 kB / 0.8304 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.9533, allocations: 4 kB / 0.8304 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.9533, allocations: 8 kB / 0.8304 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/0.9552, allocations: 338.8 kB / 0.8308 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/0.9552, allocations: 11.09 kB / 0.8308 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.9569, allocations: 246.5 kB / 0.831 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.957, allocations: 47.97 kB / 0.8311 GB, free: 5 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.0005922/0.9576, allocations: 332.4 kB / 0.8314 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/0.9579, allocations: 130.4 kB / 0.8315 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005139/0.963, allocations: 1.809 MB / 0.8333 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.963, allocations: 11.94 kB / 0.8333 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.9631, allocations: 0 / 0.8333 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.9631, allocations: 7.922 kB / 0.8333 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007246/0.9703, allocations: 3.336 MB / 0.8365 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.9704, allocations: 4 kB / 0.8365 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/0.972, allocations: 289.4 kB / 0.8368 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.499e-05/0.9721, allocations: 11.98 kB / 0.8368 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.159e-05/0.9722, allocations: 35.97 kB / 0.8369 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.175e-05/0.9722, allocations: 11.95 kB / 0.8369 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.9722, allocations: 4 kB / 0.8369 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007327/0.9795, allocations: 2.845 MB / 0.8397 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006245/0.9802, allocations: 323.2 kB / 0.84 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/0.9804, allocations: 24 kB / 0.84 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/0.9818, allocations: 159.8 kB / 0.8401 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.9819, allocations: 67.7 kB / 0.8402 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.37e-05/0.982, allocations: 43.97 kB / 0.8402 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009499/0.983, allocations: 0.8275 MB / 0.8411 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.983, allocations: 0 / 0.8411 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001007/0.984, allocations: 347.6 kB / 0.8414 GB, free: 10.31 MB / 0.6075 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.001197/0.9852, allocations: 0.5398 MB / 0.8419 GB, free: 10 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005277/0.9905, allocations: 1.787 MB / 0.8437 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.9906, allocations: 4.25 kB / 0.8437 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00238/0.9929, allocations: 0.8354 MB / 0.8445 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002831/0.9958, allocations: 0.6113 MB / 0.8451 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005978/1.002, allocations: 3.075 MB / 0.8481 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006648/1.002, allocations: 1.179 MB / 0.8492 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006369/1.003, allocations: 135.3 kB / 0.8494 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of SimCode: time 1.633e-06/1.003, allocations: 0 / 0.8494 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of Templates: time 0.03098/1.034, allocations: 21.64 MB / 0.8705 GB, free: 12.89 MB / 0.6387 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (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)