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.0009355/0.0009355, 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.00106/0.00106, allocations: 193.5 kB / 16.25 MB, free: 6.621 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.188/1.188, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.8611/0.8611, allocations: 143 MB / 433.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 67.91 kB / 0.5138 GB, free: 11.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1334, allocations: 82.04 MB / 0.5939 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.2492/0.3826, allocations: 29.1 MB / 0.6223 GB, free: 28.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009846/0.3925, allocations: 6.847 MB / 0.629 GB, free: 23.87 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002212/0.3948, allocations: 43.19 kB / 0.6291 GB, free: 23.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.3965, allocations: 0.6183 MB / 0.6297 GB, free: 23.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004135/0.4007, allocations: 1.354 MB / 0.631 GB, free: 22.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002688/0.4034, allocations: 1.048 MB / 0.632 GB, free: 22.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002535/0.4059, allocations: 2.49 MB / 0.6344 GB, free: 21.19 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008839/0.4068, allocations: 0.816 MB / 0.6352 GB, free: 20.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.4082, allocations: 1.037 MB / 0.6362 GB, free: 20.39 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007321/0.409, allocations: 0.841 MB / 0.6371 GB, free: 20.06 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.4091, allocations: 68.81 kB / 0.6371 GB, free: 20.05 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.4105, allocations: 0.8285 MB / 0.6379 GB, free: 19.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.4107, allocations: 281 kB / 0.6382 GB, free: 19.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003799/0.4111, allocations: 0.5535 MB / 0.6387 GB, free: 19.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.4126, allocations: 1.656 MB / 0.6404 GB, free: 18.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4126, allocations: 0 / 0.6404 GB, free: 18.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.265e-06/0.4126, allocations: 0 / 0.6404 GB, free: 18.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.4126, allocations: 3.938 kB / 0.6404 GB, free: 18.61 MB / 0.4981 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.002055/0.4147, allocations: 1.563 MB / 0.6419 GB, free: 17.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.4147, allocations: 11.53 kB / 0.6419 GB, free: 17.55 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.827e-05/0.4149, allocations: 115.4 kB / 0.642 GB, free: 17.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003307/0.4182, allocations: 0.5883 MB / 0.6426 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009179/0.4191, allocations: 0.8048 MB / 0.6434 GB, free: 16.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.4191, allocations: 60.38 kB / 0.6434 GB, free: 16.83 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.4193, allocations: 77.69 kB / 0.6435 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.4213, allocations: 1.095 MB / 0.6446 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.4214, allocations: 6.75 kB / 0.6446 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.816e-05/0.4214, allocations: 28.19 kB / 0.6446 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.4215, allocations: 17.69 kB / 0.6446 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/0.4242, allocations: 1.007 MB / 0.6456 GB, free: 16 MB / 0.4981 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.004589/0.4288, allocations: 4.957 MB / 0.6505 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002771/0.4316, allocations: 0.9045 MB / 0.6513 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.4329, allocations: 489.2 kB / 0.6518 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009881/0.4339, allocations: 1.588 MB / 0.6534 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001625/0.4356, allocations: 0.5668 MB / 0.6539 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 3.296e-06/0.4356, allocations: 0 / 0.6539 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.004797/0.4404, allocations: 1.498 MB / 0.6554 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.4404, allocations: 57.84 kB / 0.6554 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.4417, allocations: 1.114 MB / 0.6565 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.608e-05/0.4418, allocations: 47.14 kB / 0.6566 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/0.4421, allocations: 0.5426 MB / 0.6571 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.4423, allocations: 208.9 kB / 0.6573 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/0.4425, allocations: 161.2 kB / 0.6574 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.863e-05/0.4426, allocations: 339.9 kB / 0.6578 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.4439, allocations: 450 kB / 0.6582 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.4454, allocations: 0.7126 MB / 0.6589 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00269/0.4481, allocations: 1.122 MB / 0.66 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/0.4481, allocations: 1.281 kB / 0.66 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003309/0.4515, allocations: 1.272 MB / 0.6612 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.4515, allocations: 8.406 kB / 0.6612 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.4515, allocations: 12.58 kB / 0.6612 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.4515, allocations: 12 kB / 0.6613 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.4527, allocations: 276 kB / 0.6615 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/0.4527, allocations: 16.58 kB / 0.6615 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.4539, allocations: 195.5 kB / 0.6617 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.294e-05/0.454, allocations: 47.62 kB / 0.6618 GB, free: 6.145 MB / 0.4981 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.0003954/0.4544, allocations: 288.6 kB / 0.662 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.4546, allocations: 126.6 kB / 0.6622 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003501/0.4581, allocations: 1.364 MB / 0.6635 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.4581, allocations: 9.625 kB / 0.6635 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4581, allocations: 0 / 0.6635 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.4581, allocations: 3.562 kB / 0.6635 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004391/0.4625, allocations: 2.374 MB / 0.6658 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.4626, allocations: 1 kB / 0.6658 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.4636, allocations: 186.6 kB / 0.666 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.4636, allocations: 4.594 kB / 0.666 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.26e-05/0.4637, allocations: 29.31 kB / 0.666 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.4637, allocations: 4.625 kB / 0.666 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.4637, allocations: 6.844 kB / 0.666 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005291/0.469, allocations: 1.967 MB / 0.668 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006035/0.4696, allocations: 278.7 kB / 0.6682 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.4698, allocations: 20.19 kB / 0.6683 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.4709, allocations: 121.9 kB / 0.6684 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/0.4711, allocations: 61.11 kB / 0.6684 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.4712, allocations: 34.84 kB / 0.6685 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001198/0.4724, allocations: 0.763 MB / 0.6692 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4724, allocations: 0 / 0.6692 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001282/0.4737, allocations: 347.3 kB / 0.6695 GB, free: 3.035 MB / 0.4981 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.007044/0.4807, allocations: 3.08 MB / 0.6725 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003772/0.4845, allocations: 1.187 MB / 0.6737 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/0.4846, allocations: 0 / 0.6737 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001615/0.4862, allocations: 0.5726 MB / 0.6743 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/0.4883, allocations: 452.9 kB / 0.6747 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0186/0.5069, allocations: 10.55 MB / 0.685 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000667/0.5076, allocations: 1.107 MB / 0.6861 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001084/0.5086, allocations: 249.4 kB / 0.6863 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005867/0.5092, allocations: 461.2 kB / 0.6868 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of SimCode: time 2.214e-06/0.5093, allocations: 0 / 0.6868 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04745/0.5567, allocations: 30.32 MB / 0.7164 GB, free: 15.43 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.5569, allocations: 257.5 kB / 0.7166 GB, free: 15.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.601/3.158, allocations: 0 / 0.7166 GB, free: 15.07 MB / 0.545 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)