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.001848/0.001848, allocations: 112.5 kB / 15.73 MB, free: 76 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.002086/0.002086, allocations: 191.3 kB / 16.66 MB, free: 6.582 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.056/1.056, allocations: 143.3 MB / 433.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 71.88 kB / 0.5953 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3664, allocations: 82.03 MB / 0.6754 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03336/0.3998, allocations: 29.34 MB / 0.7041 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01095/0.4108, allocations: 6.879 MB / 0.7108 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.4119, allocations: 47.62 kB / 0.7108 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.4136, allocations: 0.6953 MB / 0.7115 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003508/0.4171, allocations: 1.442 MB / 0.7129 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002892/0.42, allocations: 1.159 MB / 0.7141 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003397/0.4234, allocations: 2.477 MB / 0.7165 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.4247, allocations: 0.7865 MB / 0.7173 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001778/0.4264, allocations: 1.019 MB / 0.7182 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.4276, allocations: 0.8091 MB / 0.719 GB, free: 9.445 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.4278, allocations: 67.94 kB / 0.7191 GB, free: 9.379 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.4296, allocations: 0.8149 MB / 0.7199 GB, free: 8.562 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003003/0.4299, allocations: 275 kB / 0.7202 GB, free: 8.293 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006068/0.4305, allocations: 0.5592 MB / 0.7207 GB, free: 7.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002413/0.4329, allocations: 1.686 MB / 0.7224 GB, free: 6.043 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.433, allocations: 0 / 0.7224 GB, free: 6.043 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.323e-06/0.433, allocations: 0 / 0.7224 GB, free: 6.043 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.167e-05/0.433, allocations: 0 / 0.7224 GB, free: 6.043 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.002764/0.4358, allocations: 1.615 MB / 0.7239 GB, free: 4.371 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.4358, allocations: 12.03 kB / 0.7239 GB, free: 4.359 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001324/0.4359, allocations: 110.7 kB / 0.724 GB, free: 4.242 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003699/0.4396, allocations: 0.5931 MB / 0.7246 GB, free: 3.648 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.4412, allocations: 0.8924 MB / 0.7255 GB, free: 2.699 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.505e-05/0.4413, allocations: 58.12 kB / 0.7256 GB, free: 2.645 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.4414, allocations: 75.98 kB / 0.7256 GB, free: 2.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002672/0.4441, allocations: 1.096 MB / 0.7267 GB, free: 1.391 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.4441, allocations: 7.938 kB / 0.7267 GB, free: 1.383 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.046e-05/0.4442, allocations: 28 kB / 0.7267 GB, free: 1.355 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.4442, allocations: 16 kB / 0.7267 GB, free: 1.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003374/0.4476, allocations: 1 MB / 0.7277 GB, free: 348 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.006361/0.454, allocations: 4.956 MB / 0.7326 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003201/0.4572, allocations: 0.9057 MB / 0.7334 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001663/0.4589, allocations: 483.1 kB / 0.7339 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001646/0.4606, allocations: 1.595 MB / 0.7355 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001928/0.4625, allocations: 0.5768 MB / 0.736 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 3.146e-06/0.4625, allocations: 0 / 0.736 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.00534/0.4679, allocations: 1.482 MB / 0.7375 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.468, allocations: 63.97 kB / 0.7375 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.4695, allocations: 1.116 MB / 0.7386 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.891e-05/0.4697, allocations: 41.7 kB / 0.7387 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000512/0.4702, allocations: 0.552 MB / 0.7392 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/0.4704, allocations: 218.2 kB / 0.7394 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003011/0.4707, allocations: 162.6 kB / 0.7396 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.4709, allocations: 341.9 kB / 0.7399 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/0.4726, allocations: 441.6 kB / 0.7403 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/0.4745, allocations: 0.7281 MB / 0.741 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003458/0.478, allocations: 1.117 MB / 0.7421 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.478, allocations: 0 / 0.7421 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004125/0.4822, allocations: 1.283 MB / 0.7434 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.4822, allocations: 11.98 kB / 0.7434 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.4822, allocations: 12.06 kB / 0.7434 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/0.4823, allocations: 12 kB / 0.7434 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.4836, allocations: 271.5 kB / 0.7437 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-05/0.4837, allocations: 16.02 kB / 0.7437 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.485, allocations: 183.2 kB / 0.7439 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.4851, allocations: 51.91 kB / 0.7439 GB, free: 14.83 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.0005314/0.4857, allocations: 291.8 kB / 0.7442 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002717/0.4859, allocations: 131.1 kB / 0.7443 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004259/0.4902, allocations: 1.363 MB / 0.7456 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.4902, allocations: 8 kB / 0.7456 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4903, allocations: 4 kB / 0.7456 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.4903, allocations: 3.984 kB / 0.7457 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005665/0.4959, allocations: 2.378 MB / 0.748 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.496, allocations: 4 kB / 0.748 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.4971, allocations: 187.9 kB / 0.7482 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/0.4971, allocations: 4 kB / 0.7482 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.596e-05/0.4972, allocations: 27.97 kB / 0.7482 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.4972, allocations: 4 kB / 0.7482 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4972, allocations: 3.938 kB / 0.7482 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005673/0.5029, allocations: 1.986 MB / 0.7501 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004584/0.5034, allocations: 284 kB / 0.7504 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.5036, allocations: 19.98 kB / 0.7504 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.5046, allocations: 103.9 kB / 0.7505 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.5047, allocations: 52.44 kB / 0.7506 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.289e-05/0.5048, allocations: 35.97 kB / 0.7506 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001052/0.5059, allocations: 0.7638 MB / 0.7514 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5059, allocations: 0 / 0.7514 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001098/0.507, allocations: 343.4 kB / 0.7517 GB, free: 6.711 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.008101/0.5151, allocations: 3.101 MB / 0.7547 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003782/0.5189, allocations: 1.118 MB / 0.7558 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5189, allocations: 0 / 0.7558 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001838/0.5208, allocations: 0.5736 MB / 0.7564 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/0.523, allocations: 465.6 kB / 0.7568 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02047/0.5435, allocations: 9.622 MB / 0.7662 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009135/0.5445, allocations: 1.108 MB / 0.7673 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001102/0.5456, allocations: 239.3 kB / 0.7675 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007677/0.5464, allocations: 467.2 kB / 0.768 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/0.5464, allocations: 3.938 kB / 0.768 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07145/0.6178, allocations: 30.91 MB / 0.7981 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.43, allocations: 17.36 kB / 0.7982 GB, free: 7.289 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)