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.001351/0.001351, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001596/0.001596, allocations: 192.4 kB / 16.25 MB, free: 6.617 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.429/1.429, allocations: 222.9 MB / 239.9 MB, free: 4.438 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.8782/0.8782, allocations: 143 MB / 433.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 63.91 kB / 0.5138 GB, free: 11.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.132, allocations: 82.04 MB / 0.5939 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.387/0.5191, allocations: 191.4 MB / 0.7808 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00765/0.5267, allocations: 5.127 MB / 0.7858 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009179/0.5277, allocations: 43.69 kB / 0.7858 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.5293, allocations: 0.735 MB / 0.7866 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004853/0.5341, allocations: 2.444 MB / 0.7889 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.5363, allocations: 1.014 MB / 0.7899 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002658/0.539, allocations: 2.706 MB / 0.7926 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.5401, allocations: 0.9449 MB / 0.7935 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.5416, allocations: 1.14 MB / 0.7946 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009922/0.5426, allocations: 1.047 MB / 0.7956 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.5428, allocations: 84 kB / 0.7957 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.5455, allocations: 1.858 MB / 0.7975 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003671/0.5459, allocations: 454.6 kB / 0.798 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005419/0.5464, allocations: 0.6649 MB / 0.7986 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002456/0.5489, allocations: 2.368 MB / 0.8009 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5489, allocations: 0 / 0.8009 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5489, allocations: 0 / 0.8009 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.5489, allocations: 0 / 0.8009 GB, free: 9.465 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.004432/0.5533, allocations: 1.965 MB / 0.8028 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.5534, allocations: 11.97 kB / 0.8029 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/0.5535, allocations: 140.1 kB / 0.803 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005386/0.5589, allocations: 0.8955 MB / 0.8039 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.5603, allocations: 0.9059 MB / 0.8047 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.454e-05/0.5603, allocations: 66 kB / 0.8048 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.5605, allocations: 91.94 kB / 0.8049 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003469/0.564, allocations: 1.591 MB / 0.8065 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.564, allocations: 4.625 kB / 0.8065 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.5641, allocations: 35.98 kB / 0.8065 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.216e-05/0.5642, allocations: 45.98 kB / 0.8065 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004943/0.5691, allocations: 1.842 MB / 0.8083 GB, free: 1.727 MB / 0.6231 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.006964/0.5761, allocations: 4.744 MB / 0.813 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004156/0.5803, allocations: 1.566 MB / 0.8145 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002171/0.5825, allocations: 0.8507 MB / 0.8153 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/0.5837, allocations: 0.9374 MB / 0.8162 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002349/0.5861, allocations: 0.922 MB / 0.8171 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=95): time 2.976e-06/0.5861, allocations: 0 / 0.8171 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95): time 0.007223/0.5933, allocations: 2.454 MB / 0.8195 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.5934, allocations: 68.41 kB / 0.8196 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.5946, allocations: 1.197 MB / 0.8208 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.34e-05/0.5947, allocations: 41.7 kB / 0.8208 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000381/0.5951, allocations: 0.5409 MB / 0.8213 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000256/0.5954, allocations: 327.3 kB / 0.8217 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003282/0.5957, allocations: 186.5 kB / 0.8218 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.5958, allocations: 345.9 kB / 0.8222 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001998/0.5978, allocations: 0.7044 MB / 0.8228 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/0.6, allocations: 0.9113 MB / 0.8237 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003993/0.604, allocations: 1.554 MB / 0.8253 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.604, allocations: 3.938 kB / 0.8253 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004565/0.6086, allocations: 1.784 MB / 0.827 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.6086, allocations: 8 kB / 0.827 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.6086, allocations: 4 kB / 0.827 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.6086, allocations: 8 kB / 0.827 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.6103, allocations: 340 kB / 0.8273 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.6104, allocations: 8 kB / 0.8274 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.6119, allocations: 258.7 kB / 0.8276 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.612, allocations: 47.97 kB / 0.8276 GB, free: 13.33 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.0004811/0.6125, allocations: 335.7 kB / 0.828 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.6127, allocations: 134.3 kB / 0.8281 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00476/0.6175, allocations: 1.804 MB / 0.8299 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.6175, allocations: 16 kB / 0.8299 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6175, allocations: 0 / 0.8299 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.6175, allocations: 3.984 kB / 0.8299 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00666/0.6242, allocations: 3.322 MB / 0.8331 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.6242, allocations: 7.938 kB / 0.8331 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/0.6258, allocations: 294.4 kB / 0.8334 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/0.6258, allocations: 11.94 kB / 0.8334 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.345e-05/0.6259, allocations: 31.97 kB / 0.8334 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.626, allocations: 11.94 kB / 0.8335 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.626, allocations: 4 kB / 0.8335 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00678/0.6328, allocations: 2.843 MB / 0.8362 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000499/0.6333, allocations: 315.2 kB / 0.8365 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/0.6335, allocations: 31.98 kB / 0.8366 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/0.6349, allocations: 179.6 kB / 0.8367 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.635, allocations: 72.45 kB / 0.8368 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.375e-05/0.6351, allocations: 43.97 kB / 0.8369 GB, free: 3.691 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009205/0.6361, allocations: 0.8314 MB / 0.8377 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6361, allocations: 0 / 0.8377 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009262/0.637, allocations: 339.7 kB / 0.838 GB, free: 2.523 MB / 0.6544 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.008256/0.6453, allocations: 3.836 MB / 0.8417 GB, free: 14.83 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005133/0.6504, allocations: 1.779 MB / 0.8435 GB, free: 13.05 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.6504, allocations: 256 / 0.8435 GB, free: 13.05 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002323/0.6528, allocations: 0.8358 MB / 0.8443 GB, free: 12.21 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/0.6555, allocations: 0.6104 MB / 0.8449 GB, free: 11.61 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2373/0.8928, allocations: 13.23 MB / 0.8578 GB, free: 210.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.8933, allocations: 1.186 MB / 0.859 GB, free: 209.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001404/0.8947, allocations: 355.5 kB / 0.8593 GB, free: 209.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000643/0.8953, allocations: 0.5033 MB / 0.8598 GB, free: 209.3 MB / 0.67 GB Notification: Performance of SimCode: time 4.91e-07/0.8953, allocations: 0 / 0.8598 GB, free: 209.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.238/3.133, allocations: 35.07 MB / 0.894 GB, free: 204.6 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/3.134, allocations: 257.9 kB / 0.8943 GB, free: 204.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.721/5.855, allocations: 5 kB / 0.8943 GB, free: 204.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)