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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",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.001572/0.001572, 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.001891/0.001891, allocations: 197.9 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.9906/0.9906, allocations: 143 MB / 433.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 63.91 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2119, allocations: 82.05 MB / 0.5944 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4607/0.6726, allocations: 193.9 MB / 0.7838 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008969/0.6816, allocations: 5.149 MB / 0.7888 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009586/0.6826, allocations: 47.69 kB / 0.7888 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.6843, allocations: 0.812 MB / 0.7896 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005535/0.6899, allocations: 2.594 MB / 0.7922 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002628/0.6925, allocations: 1.114 MB / 0.7933 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003224/0.6957, allocations: 2.676 MB / 0.7959 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001618/0.6974, allocations: 0.9528 MB / 0.7968 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002026/0.6994, allocations: 1.094 MB / 0.7979 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.7008, allocations: 0.9885 MB / 0.7988 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.701, allocations: 88 kB / 0.7989 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003291/0.7043, allocations: 1.789 MB / 0.8007 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004455/0.7047, allocations: 450.6 kB / 0.8011 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000729/0.7055, allocations: 0.6611 MB / 0.8017 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003082/0.7086, allocations: 2.243 MB / 0.8039 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.7086, allocations: 0 / 0.8039 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.817e-06/0.7086, allocations: 0 / 0.8039 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.948e-05/0.7086, allocations: 3.938 kB / 0.8039 GB, free: 6.496 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.005071/0.7137, allocations: 1.956 MB / 0.8058 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.7137, allocations: 12.03 kB / 0.8059 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/0.7139, allocations: 135.6 kB / 0.806 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005607/0.7195, allocations: 0.8955 MB / 0.8069 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.7209, allocations: 0.9059 MB / 0.8077 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/0.721, allocations: 73.98 kB / 0.8078 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/0.7212, allocations: 92.94 kB / 0.8079 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00368/0.7249, allocations: 1.583 MB / 0.8094 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.7249, allocations: 0 / 0.8094 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.725, allocations: 39.94 kB / 0.8095 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.341e-05/0.7251, allocations: 45.98 kB / 0.8095 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005263/0.7304, allocations: 1.85 MB / 0.8113 GB, free: 14.76 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.007255/0.7376, allocations: 4.756 MB / 0.816 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004561/0.7422, allocations: 1.57 MB / 0.8175 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002343/0.7446, allocations: 0.8468 MB / 0.8183 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001374/0.7459, allocations: 0.9491 MB / 0.8193 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002547/0.7485, allocations: 0.9171 MB / 0.8202 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=95): time 3.958e-06/0.7485, allocations: 4 kB / 0.8202 GB, free: 5.293 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95): time 0.007694/0.7562, allocations: 2.446 MB / 0.8226 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.7563, allocations: 68.39 kB / 0.8226 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.7576, allocations: 1.193 MB / 0.8238 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.885e-05/0.7578, allocations: 49.7 kB / 0.8238 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004172/0.7582, allocations: 0.5487 MB / 0.8244 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/0.7585, allocations: 323.3 kB / 0.8247 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003308/0.7588, allocations: 190.5 kB / 0.8249 GB, free: 444 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.7589, allocations: 341.9 kB / 0.8252 GB, free: 96 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/0.7612, allocations: 0.6967 MB / 0.8259 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002391/0.7636, allocations: 0.9073 MB / 0.8268 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004458/0.768, allocations: 1.554 MB / 0.8283 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.7681, allocations: 7.938 kB / 0.8283 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00518/0.7733, allocations: 1.78 MB / 0.83 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.7733, allocations: 4 kB / 0.83 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.7733, allocations: 4 kB / 0.83 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.7733, allocations: 12 kB / 0.83 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/0.7751, allocations: 339.5 kB / 0.8304 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.999e-05/0.7752, allocations: 8.625 kB / 0.8304 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.7768, allocations: 238.7 kB / 0.8306 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.7769, allocations: 47.97 kB / 0.8306 GB, free: 10.38 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.0006099/0.7776, allocations: 335.7 kB / 0.831 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002872/0.7778, allocations: 138.2 kB / 0.8311 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005376/0.7832, allocations: 1.809 MB / 0.8329 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.7833, allocations: 12 kB / 0.8329 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.7833, allocations: 0 / 0.8329 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.7833, allocations: 7.297 kB / 0.8329 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007567/0.7909, allocations: 3.322 MB / 0.8361 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.7909, allocations: 7.984 kB / 0.8361 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001739/0.7926, allocations: 287.8 kB / 0.8364 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.447e-05/0.7927, allocations: 11.94 kB / 0.8364 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.7928, allocations: 31.97 kB / 0.8364 GB, free: 4.309 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.187e-05/0.7928, allocations: 8 kB / 0.8365 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/0.7928, allocations: 11.92 kB / 0.8365 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007696/0.8005, allocations: 2.843 MB / 0.8392 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009734/0.8015, allocations: 327.2 kB / 0.8396 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004527/0.802, allocations: 20 kB / 0.8396 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001745/0.8037, allocations: 155.8 kB / 0.8397 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.8039, allocations: 76.44 kB / 0.8398 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.8041, allocations: 39.97 kB / 0.8398 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001273/0.8053, allocations: 0.8315 MB / 0.8406 GB, free: 15.92 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.71e-07/0.8053, allocations: 0 / 0.8406 GB, free: 15.92 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00123/0.8066, allocations: 343.6 kB / 0.841 GB, free: 15.58 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.009414/0.816, allocations: 3.83 MB / 0.8447 GB, free: 11.89 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005698/0.8217, allocations: 1.786 MB / 0.8465 GB, free: 10.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.8218, allocations: 0 / 0.8465 GB, free: 10.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002902/0.8247, allocations: 0.8361 MB / 0.8473 GB, free: 9.262 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003001/0.8277, allocations: 0.6219 MB / 0.8479 GB, free: 8.66 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2733/1.101, allocations: 12.86 MB / 0.8604 GB, free: 209.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/1.102, allocations: 1.185 MB / 0.8616 GB, free: 208.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00148/1.103, allocations: 361.9 kB / 0.8619 GB, free: 208.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006738/1.104, allocations: 0.5015 MB / 0.8624 GB, free: 208.8 MB / 0.67 GB Notification: Performance of SimCode: time 6.31e-07/1.104, allocations: 0 / 0.8624 GB, free: 208.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06758/1.171, allocations: 35.38 MB / 0.897 GB, free: 203.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.638/9.809, allocations: 9.328 kB / 0.897 GB, free: 203.4 MB / 0.67 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_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.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)