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.001097/0.001097, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 195.8 kB / 16.53 MB, free: 6.391 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.9632/0.9632, allocations: 143 MB / 433.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.91 kB / 0.5142 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1754, allocations: 82.03 MB / 0.5943 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4942/0.6697, allocations: 193.9 MB / 0.7837 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008912/0.6786, allocations: 5.144 MB / 0.7887 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.6801, allocations: 47.69 kB / 0.7887 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001792/0.6819, allocations: 0.8081 MB / 0.7895 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006201/0.6882, allocations: 2.606 MB / 0.7921 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002533/0.6907, allocations: 1.102 MB / 0.7931 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003106/0.6938, allocations: 2.676 MB / 0.7958 GB, free: 15 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/0.6951, allocations: 0.9445 MB / 0.7967 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001812/0.697, allocations: 1.102 MB / 0.7978 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.6981, allocations: 0.9924 MB / 0.7987 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.6983, allocations: 88 kB / 0.7988 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003198/0.7015, allocations: 1.785 MB / 0.8005 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004157/0.7019, allocations: 450.6 kB / 0.801 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006521/0.7026, allocations: 0.6643 MB / 0.8016 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003004/0.7056, allocations: 2.239 MB / 0.8038 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.7056, allocations: 0 / 0.8038 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7056, allocations: 4 kB / 0.8038 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.61e-05/0.7056, allocations: 0 / 0.8038 GB, free: 6.711 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004749/0.7104, allocations: 1.957 MB / 0.8057 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.7105, allocations: 16.03 kB / 0.8057 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005606/0.7161, allocations: 0.8877 MB / 0.8066 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.7175, allocations: 0.9098 MB / 0.8075 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.997e-05/0.7175, allocations: 66 kB / 0.8076 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.7177, allocations: 92 kB / 0.8076 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003666/0.7214, allocations: 1.583 MB / 0.8092 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.7214, allocations: 3.938 kB / 0.8092 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.7216, allocations: 36 kB / 0.8092 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.936e-05/0.7216, allocations: 49.92 kB / 0.8093 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00526/0.7269, allocations: 1.85 MB / 0.8111 GB, free: 15.12 MB / 0.6387 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.007098/0.734, allocations: 4.756 MB / 0.8157 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004388/0.7384, allocations: 1.571 MB / 0.8173 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002264/0.7407, allocations: 0.8507 MB / 0.8181 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00123/0.7419, allocations: 0.9413 MB / 0.819 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002458/0.7444, allocations: 0.911 MB / 0.8199 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=95): time 4.168e-06/0.7444, allocations: 4 kB / 0.8199 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95): time 0.00774/0.7522, allocations: 2.462 MB / 0.8223 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.7522, allocations: 60.41 kB / 0.8224 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.7536, allocations: 1.201 MB / 0.8235 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.934e-05/0.7537, allocations: 41.7 kB / 0.8236 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/0.7541, allocations: 0.5409 MB / 0.8241 GB, free: 1.312 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/0.7544, allocations: 327.3 kB / 0.8244 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003323/0.7547, allocations: 190.5 kB / 0.8246 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.7548, allocations: 345.9 kB / 0.8249 GB, free: 464 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002235/0.7571, allocations: 0.6927 MB / 0.8256 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002339/0.7594, allocations: 0.9152 MB / 0.8265 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004401/0.7638, allocations: 1.55 MB / 0.828 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.7638, allocations: 0 / 0.828 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005034/0.7689, allocations: 1.784 MB / 0.8298 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.7689, allocations: 8 kB / 0.8298 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.7689, allocations: 4.438 kB / 0.8298 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.769, allocations: 8 kB / 0.8298 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001794/0.7708, allocations: 352 kB / 0.8301 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.7708, allocations: 8 kB / 0.8301 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.7724, allocations: 234.7 kB / 0.8303 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.7725, allocations: 47.97 kB / 0.8304 GB, free: 10.73 MB / 0.6544 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.0005603/0.7731, allocations: 340.6 kB / 0.8307 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.7733, allocations: 134.3 kB / 0.8308 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005209/0.7785, allocations: 1.799 MB / 0.8326 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.7785, allocations: 9.125 kB / 0.8326 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.7785, allocations: 4 kB / 0.8326 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.7786, allocations: 3.984 kB / 0.8326 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007448/0.786, allocations: 3.322 MB / 0.8359 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/0.7861, allocations: 4.5 kB / 0.8359 GB, free: 5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/0.7878, allocations: 299.5 kB / 0.8362 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.204e-05/0.7878, allocations: 8 kB / 0.8362 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.36e-05/0.7879, allocations: 36.05 kB / 0.8362 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-05/0.7879, allocations: 14.31 kB / 0.8362 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.7879, allocations: 7.938 kB / 0.8362 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007539/0.7955, allocations: 2.843 MB / 0.839 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006087/0.7961, allocations: 319.2 kB / 0.8393 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/0.7963, allocations: 24 kB / 0.8393 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/0.7978, allocations: 159.8 kB / 0.8395 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.7979, allocations: 72.45 kB / 0.8395 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-05/0.798, allocations: 39.97 kB / 0.8396 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001014/0.799, allocations: 0.8314 MB / 0.8404 GB, free: 288 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.799, allocations: 0 / 0.8404 GB, free: 288 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001045/0.8001, allocations: 339.6 kB / 0.8407 GB, free: 15.95 MB / 0.67 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.001337/0.8015, allocations: 0.5497 MB / 0.8413 GB, free: 15.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005469/0.8069, allocations: 1.775 MB / 0.843 GB, free: 13.83 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.807, allocations: 0 / 0.843 GB, free: 13.83 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002516/0.8095, allocations: 0.8399 MB / 0.8438 GB, free: 12.98 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002863/0.8123, allocations: 0.6123 MB / 0.8444 GB, free: 12.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006444/0.8188, allocations: 3.006 MB / 0.8473 GB, free: 9.309 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007734/0.8196, allocations: 1.187 MB / 0.8485 GB, free: 8.09 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001554/0.8212, allocations: 362 kB / 0.8488 GB, free: 7.734 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004177/0.8216, allocations: 119.4 kB / 0.849 GB, free: 7.617 MB / 0.67 GB Notification: Performance of SimCode: time 9.12e-07/0.8216, allocations: 0 / 0.849 GB, free: 7.617 MB / 0.67 GB Notification: Performance of Templates: time 0.3259/1.148, allocations: 23.81 MB / 0.8722 GB, free: 208.5 MB / 0.67 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)