Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.008689/0.008689, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001508/0.001508, allocations: 202.2 kB / 16.68 MB, free: 5.969 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.15/1.15, allocations: 143.3 MB / 433.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 63.89 kB / 0.5953 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.473/0.4749, allocations: 82.04 MB / 0.6754 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.04272/0.5177, allocations: 29.34 MB / 0.7041 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01228/0.53, allocations: 6.883 MB / 0.7108 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001978/0.532, allocations: 47.69 kB / 0.7109 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.5344, allocations: 0.6914 MB / 0.7115 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004856/0.5393, allocations: 1.454 MB / 0.713 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003515/0.5428, allocations: 1.154 MB / 0.7141 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004408/0.5472, allocations: 2.477 MB / 0.7165 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.5491, allocations: 0.7787 MB / 0.7173 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002965/0.5521, allocations: 1.015 MB / 0.7183 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001827/0.5539, allocations: 0.817 MB / 0.7191 GB, free: 9.418 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002747/0.5542, allocations: 71.94 kB / 0.7191 GB, free: 9.348 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002643/0.5569, allocations: 0.8226 MB / 0.7199 GB, free: 8.523 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000489/0.5574, allocations: 275 kB / 0.7202 GB, free: 8.254 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009241/0.5583, allocations: 0.5476 MB / 0.7207 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003652/0.562, allocations: 1.682 MB / 0.7224 GB, free: 6.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.562, allocations: 0 / 0.7224 GB, free: 6.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.835e-06/0.5621, allocations: 3.938 kB / 0.7224 GB, free: 6.016 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.152e-05/0.5621, allocations: 0 / 0.7224 GB, free: 6.016 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.00362/0.5657, allocations: 1.619 MB / 0.7239 GB, free: 4.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/0.5658, allocations: 12.03 kB / 0.724 GB, free: 4.328 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001628/0.566, allocations: 110.7 kB / 0.7241 GB, free: 4.211 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003792/0.5698, allocations: 0.597 MB / 0.7246 GB, free: 3.613 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.5718, allocations: 0.8807 MB / 0.7255 GB, free: 2.676 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.742e-05/0.5719, allocations: 62.12 kB / 0.7256 GB, free: 2.617 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.5721, allocations: 76 kB / 0.7256 GB, free: 2.543 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002902/0.575, allocations: 1.096 MB / 0.7267 GB, free: 1.363 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.5751, allocations: 3.938 kB / 0.7267 GB, free: 1.359 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.428e-05/0.5752, allocations: 32 kB / 0.7267 GB, free: 1.328 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.5752, allocations: 20 kB / 0.7268 GB, free: 1.309 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00357/0.5788, allocations: 0.9923 MB / 0.7277 GB, free: 324 kB / 0.545 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.007667/0.5865, allocations: 4.956 MB / 0.7326 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003428/0.5899, allocations: 0.9131 MB / 0.7335 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001737/0.5917, allocations: 486.2 kB / 0.7339 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001899/0.5937, allocations: 1.592 MB / 0.7355 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002167/0.5959, allocations: 0.569 MB / 0.736 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 5.541e-06/0.5959, allocations: 0 / 0.736 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.005958/0.6019, allocations: 1.489 MB / 0.7375 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/0.602, allocations: 63.91 kB / 0.7376 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/0.6039, allocations: 1.116 MB / 0.7386 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001992/0.6042, allocations: 41.69 kB / 0.7387 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006165/0.6048, allocations: 0.5481 MB / 0.7392 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003747/0.6052, allocations: 222.2 kB / 0.7394 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003558/0.6055, allocations: 158.6 kB / 0.7396 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.6057, allocations: 337.9 kB / 0.7399 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.6074, allocations: 449.6 kB / 0.7403 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002028/0.6094, allocations: 0.7203 MB / 0.741 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003632/0.6131, allocations: 1.12 MB / 0.7421 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.77e-05/0.6132, allocations: 8 kB / 0.7421 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00462/0.6178, allocations: 1.283 MB / 0.7434 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.6179, allocations: 12.16 kB / 0.7434 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.6179, allocations: 8 kB / 0.7434 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.589e-05/0.6179, allocations: 12 kB / 0.7434 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.6193, allocations: 263.6 kB / 0.7437 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.091e-05/0.6194, allocations: 19.88 kB / 0.7437 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/0.6209, allocations: 187.2 kB / 0.7439 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/0.6211, allocations: 43.97 kB / 0.7439 GB, free: 14.81 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0007677/0.6219, allocations: 295.7 kB / 0.7442 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004068/0.6223, allocations: 131.2 kB / 0.7443 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004687/0.627, allocations: 1.354 MB / 0.7456 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.342e-05/0.6271, allocations: 16 kB / 0.7457 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/0.6271, allocations: 0 / 0.7457 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.6272, allocations: 7.984 kB / 0.7457 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006969/0.6341, allocations: 2.374 MB / 0.748 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.119e-05/0.6342, allocations: 0 / 0.748 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.6354, allocations: 195.9 kB / 0.7482 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/0.6354, allocations: 4 kB / 0.7482 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/0.6356, allocations: 23.97 kB / 0.7482 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.259e-05/0.6356, allocations: 4 kB / 0.7482 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.6356, allocations: 7.938 kB / 0.7482 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00622/0.6418, allocations: 1.982 MB / 0.7501 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007339/0.6426, allocations: 288.1 kB / 0.7504 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003657/0.643, allocations: 16 kB / 0.7504 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.6442, allocations: 111.9 kB / 0.7505 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.6444, allocations: 56.38 kB / 0.7506 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.6446, allocations: 35.97 kB / 0.7506 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001394/0.646, allocations: 0.7638 MB / 0.7514 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.646, allocations: 0 / 0.7514 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001579/0.6476, allocations: 343.4 kB / 0.7517 GB, free: 6.676 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.009022/0.6566, allocations: 3.098 MB / 0.7547 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004118/0.6608, allocations: 1.114 MB / 0.7558 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/0.6608, allocations: 4 kB / 0.7558 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00193/0.6627, allocations: 0.5736 MB / 0.7564 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/0.6654, allocations: 460.4 kB / 0.7568 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02318/0.6886, allocations: 9.607 MB / 0.7662 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.6896, allocations: 1.111 MB / 0.7673 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001148/0.6908, allocations: 244.2 kB / 0.7675 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008527/0.6917, allocations: 463.2 kB / 0.768 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of SimCode: time 1.232e-06/0.6917, allocations: 3.938 kB / 0.768 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07989/0.7716, allocations: 30.93 MB / 0.7982 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.39, allocations: 18.8 kB / 0.7982 GB, free: 7.258 MB / 0.6231 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_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_Water.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)