Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, 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.001235/0.001235, allocations: 198 kB / 16.54 MB, free: 6.672 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.384/1.384, 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 1.048/1.048, allocations: 143 MB / 433.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 67.89 kB / 0.5143 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1787, allocations: 82.04 MB / 0.5944 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5457/0.7245, allocations: 193.9 MB / 0.7838 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009086/0.7336, allocations: 5.139 MB / 0.7888 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.7351, allocations: 47.62 kB / 0.7888 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00223/0.7373, allocations: 0.812 MB / 0.7896 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007085/0.7445, allocations: 2.606 MB / 0.7922 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003271/0.7478, allocations: 1.098 MB / 0.7933 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004306/0.7521, allocations: 2.609 MB / 0.7958 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/0.7538, allocations: 0.8962 MB / 0.7967 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/0.7561, allocations: 1.074 MB / 0.7977 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.7576, allocations: 0.9495 MB / 0.7987 GB, free: 12 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003086/0.758, allocations: 76 kB / 0.7987 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004076/0.762, allocations: 1.785 MB / 0.8005 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006458/0.7627, allocations: 434.6 kB / 0.8009 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.7639, allocations: 0.6448 MB / 0.8015 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004468/0.7684, allocations: 2.173 MB / 0.8036 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.7685, allocations: 0 / 0.8036 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7685, allocations: 0 / 0.8036 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.936e-05/0.7685, allocations: 3.938 kB / 0.8036 GB, free: 6.875 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.005534/0.7741, allocations: 1.936 MB / 0.8055 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.7741, allocations: 8.031 kB / 0.8055 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002119/0.7744, allocations: 143.5 kB / 0.8057 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004107/0.7785, allocations: 0.6576 MB / 0.8063 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.78, allocations: 0.8826 MB / 0.8072 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.583e-05/0.7801, allocations: 66 kB / 0.8072 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.7803, allocations: 84 kB / 0.8073 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003257/0.7835, allocations: 1.47 MB / 0.8088 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.7836, allocations: 3.938 kB / 0.8088 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.7837, allocations: 43.98 kB / 0.8088 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-05/0.7837, allocations: 41.98 kB / 0.8088 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004246/0.788, allocations: 1.514 MB / 0.8103 GB, free: 15.84 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.007466/0.7955, allocations: 5.504 MB / 0.8157 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003843/0.7993, allocations: 1.28 MB / 0.8169 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/0.8011, allocations: 0.6585 MB / 0.8176 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008987/0.802, allocations: 0.5812 MB / 0.8182 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001957/0.804, allocations: 0.7034 MB / 0.8188 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=80): time 5.119e-06/0.804, allocations: 0 / 0.8188 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of matching and sorting (n=80): time 0.005879/0.8099, allocations: 1.886 MB / 0.8207 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.81, allocations: 60.06 kB / 0.8207 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/0.8116, allocations: 1.239 MB / 0.8219 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.8118, allocations: 49.69 kB / 0.822 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005605/0.8123, allocations: 0.5753 MB / 0.8226 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000333/0.8127, allocations: 276.1 kB / 0.8228 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003698/0.8131, allocations: 186.5 kB / 0.823 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.8132, allocations: 337.9 kB / 0.8233 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/0.8149, allocations: 0.5405 MB / 0.8239 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/0.817, allocations: 0.8179 MB / 0.8246 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003686/0.8207, allocations: 1.332 MB / 0.826 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.8207, allocations: 0 / 0.826 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0043/0.825, allocations: 1.491 MB / 0.8274 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.8251, allocations: 8 kB / 0.8274 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/0.8251, allocations: 9.719 kB / 0.8274 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.308e-05/0.8251, allocations: 13 kB / 0.8274 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.8266, allocations: 299.8 kB / 0.8277 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.049e-05/0.8267, allocations: 15.94 kB / 0.8277 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.8282, allocations: 202.7 kB / 0.8279 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.8283, allocations: 51.97 kB / 0.828 GB, free: 13.06 MB / 0.6544 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.000581/0.8289, allocations: 338.7 kB / 0.8283 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002848/0.8292, allocations: 138.4 kB / 0.8284 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004059/0.8333, allocations: 1.408 MB / 0.8298 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.8333, allocations: 8 kB / 0.8298 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.8333, allocations: 0 / 0.8298 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.8333, allocations: 3.984 kB / 0.8298 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006013/0.8393, allocations: 2.809 MB / 0.8326 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.8394, allocations: 4 kB / 0.8326 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.8407, allocations: 220.1 kB / 0.8328 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.449e-05/0.8407, allocations: 8 kB / 0.8328 GB, free: 8.027 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.387e-05/0.8408, allocations: 27.97 kB / 0.8328 GB, free: 8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/0.8408, allocations: 11.94 kB / 0.8328 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.8408, allocations: 4 kB / 0.8328 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005694/0.8465, allocations: 2.248 MB / 0.835 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000554/0.8471, allocations: 295.2 kB / 0.8353 GB, free: 5.359 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/0.8473, allocations: 24 kB / 0.8353 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.8485, allocations: 111.9 kB / 0.8354 GB, free: 5.227 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.8487, allocations: 60.47 kB / 0.8355 GB, free: 5.168 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.407e-05/0.8487, allocations: 39.95 kB / 0.8355 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001172/0.8499, allocations: 0.8561 MB / 0.8364 GB, free: 4.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8499, allocations: 0 / 0.8364 GB, free: 4.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001046/0.851, allocations: 315.6 kB / 0.8367 GB, free: 3.961 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.007703/0.8587, allocations: 3.243 MB / 0.8398 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004328/0.8631, allocations: 1.404 MB / 0.8412 GB, free: 15.45 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.495e-06/0.8631, allocations: 0 / 0.8412 GB, free: 15.45 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001819/0.8649, allocations: 0.6404 MB / 0.8418 GB, free: 14.81 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003144/0.8681, allocations: 0.6092 MB / 0.8424 GB, free: 14.22 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02179/0.8899, allocations: 11.75 MB / 0.8539 GB, free: 1.824 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008581/0.8908, allocations: 1.178 MB / 0.8551 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00153/0.8923, allocations: 345.9 kB / 0.8554 GB, free: 284 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2924/1.185, allocations: 0.4883 MB / 0.8559 GB, free: 210.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.293e-06/1.185, allocations: 0.75 kB / 0.8559 GB, free: 210.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0889/1.274, allocations: 33.62 MB / 0.8887 GB, free: 207.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.434/9.707, allocations: 10.31 kB / 0.8887 GB, free: 207.4 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)