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/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_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.005423/0.005423, allocations: 104.7 kB / 15.74 MB, free: 6.492 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.001253/0.001253, allocations: 191.7 kB / 16.68 MB, free: 6.375 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.005/1.005, allocations: 143 MB / 433.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 67.91 kB / 0.5951 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4805/0.4818, allocations: 82.03 MB / 0.6752 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03154/0.5134, allocations: 29.34 MB / 0.7038 GB, free: 9 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01048/0.5239, allocations: 6.881 MB / 0.7106 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.5254, allocations: 51.62 kB / 0.7106 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001788/0.5272, allocations: 0.6992 MB / 0.7113 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004002/0.5313, allocations: 1.516 MB / 0.7128 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003076/0.5344, allocations: 1.156 MB / 0.7139 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003516/0.5379, allocations: 2.477 MB / 0.7163 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.5391, allocations: 0.7887 MB / 0.7171 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002414/0.5415, allocations: 1.051 MB / 0.7181 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001535/0.5431, allocations: 0.8169 MB / 0.7189 GB, free: 9.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.5432, allocations: 64 kB / 0.719 GB, free: 9.457 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.5455, allocations: 0.8227 MB / 0.7198 GB, free: 8.633 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003083/0.5458, allocations: 278.8 kB / 0.7201 GB, free: 8.359 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000732/0.5465, allocations: 0.5476 MB / 0.7206 GB, free: 7.809 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002648/0.5492, allocations: 1.67 MB / 0.7222 GB, free: 6.133 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5492, allocations: 0 / 0.7222 GB, free: 6.133 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.354e-06/0.5492, allocations: 0 / 0.7222 GB, free: 6.133 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.709e-05/0.5493, allocations: 0 / 0.7222 GB, free: 6.133 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.002799/0.5521, allocations: 1.57 MB / 0.7238 GB, free: 4.508 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.5521, allocations: 8.031 kB / 0.7238 GB, free: 4.5 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001363/0.5523, allocations: 118.7 kB / 0.7239 GB, free: 4.375 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003225/0.5555, allocations: 0.5845 MB / 0.7244 GB, free: 3.789 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.557, allocations: 0.8835 MB / 0.7253 GB, free: 2.848 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.345e-05/0.5571, allocations: 58.12 kB / 0.7254 GB, free: 2.793 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.5572, allocations: 76 kB / 0.7254 GB, free: 2.719 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.5596, allocations: 1.092 MB / 0.7265 GB, free: 1.543 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.5596, allocations: 3.938 kB / 0.7265 GB, free: 1.539 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.269e-05/0.5597, allocations: 32 kB / 0.7265 GB, free: 1.508 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.5597, allocations: 20 kB / 0.7266 GB, free: 1.488 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002841/0.5625, allocations: 1 MB / 0.7275 GB, free: 500 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.005652/0.5682, allocations: 4.948 MB / 0.7324 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0027/0.5709, allocations: 0.9059 MB / 0.7332 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.5723, allocations: 491 kB / 0.7337 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001392/0.5737, allocations: 1.595 MB / 0.7353 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001516/0.5752, allocations: 0.5651 MB / 0.7358 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 3.456e-06/0.5752, allocations: 0 / 0.7358 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.004555/0.5798, allocations: 1.485 MB / 0.7373 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.5799, allocations: 63.91 kB / 0.7373 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.5812, allocations: 1.108 MB / 0.7384 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.095e-05/0.5813, allocations: 41.7 kB / 0.7385 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/0.5817, allocations: 0.555 MB / 0.739 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.5819, allocations: 213 kB / 0.7392 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002698/0.5822, allocations: 162.5 kB / 0.7394 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5824, allocations: 334 kB / 0.7397 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.5837, allocations: 453.6 kB / 0.7401 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.5853, allocations: 0.7203 MB / 0.7408 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002864/0.5881, allocations: 1.113 MB / 0.7419 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.327e-06/0.5882, allocations: 4 kB / 0.7419 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003471/0.5916, allocations: 1.274 MB / 0.7431 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.5917, allocations: 11.94 kB / 0.7432 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.5917, allocations: 8 kB / 0.7432 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/0.5917, allocations: 12 kB / 0.7432 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.5929, allocations: 272.2 kB / 0.7434 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-05/0.5929, allocations: 15.94 kB / 0.7435 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.5941, allocations: 183 kB / 0.7436 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.37e-05/0.5942, allocations: 43.92 kB / 0.7437 GB, free: 15.02 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.0005269/0.5948, allocations: 291.8 kB / 0.7439 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/0.595, allocations: 126.4 kB / 0.7441 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003674/0.5987, allocations: 1.354 MB / 0.7454 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/0.5987, allocations: 15.98 kB / 0.7454 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.5987, allocations: 0 / 0.7454 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.5988, allocations: 3.984 kB / 0.7454 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005052/0.6038, allocations: 2.382 MB / 0.7477 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.495e-06/0.6038, allocations: 0 / 0.7477 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009943/0.6048, allocations: 187.9 kB / 0.7479 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/0.6049, allocations: 4 kB / 0.7479 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.901e-05/0.6049, allocations: 31.97 kB / 0.7479 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.687e-06/0.605, allocations: 4 kB / 0.748 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.605, allocations: 7.938 kB / 0.748 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00481/0.6098, allocations: 1.973 MB / 0.7499 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004809/0.6103, allocations: 279.3 kB / 0.7502 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.6104, allocations: 16 kB / 0.7502 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008628/0.6113, allocations: 107.9 kB / 0.7503 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.6114, allocations: 52.52 kB / 0.7503 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.239e-05/0.6115, allocations: 35.97 kB / 0.7504 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009843/0.6125, allocations: 0.7716 MB / 0.7511 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6125, allocations: 0 / 0.7511 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00108/0.6136, allocations: 339.6 kB / 0.7514 GB, free: 6.91 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.006426/0.62, allocations: 3.089 MB / 0.7544 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00313/0.6232, allocations: 1.11 MB / 0.7555 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6232, allocations: 8.125 kB / 0.7555 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001552/0.6248, allocations: 0.5773 MB / 0.7561 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/0.6267, allocations: 450.6 kB / 0.7565 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01796/0.6447, allocations: 9.571 MB / 0.7659 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008625/0.6456, allocations: 1.104 MB / 0.767 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009375/0.6466, allocations: 255.9 kB / 0.7672 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005984/0.6472, allocations: 463.2 kB / 0.7676 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of SimCode: time 7.31e-07/0.6472, allocations: 0 / 0.7676 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06182/0.709, allocations: 30.91 MB / 0.7978 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.601/10.31, allocations: 19.86 kB / 0.7978 GB, free: 7.535 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)