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.001032/0.001032, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00107/0.00107, allocations: 195.5 kB / 16.14 MB, free: 6.66 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.328/1.328, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.9724/0.9724, allocations: 143 MB / 433 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 63.89 kB / 0.5136 GB, free: 12.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1638, allocations: 82.03 MB / 0.5937 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3072/0.471, allocations: 29.16 MB / 0.6222 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008422/0.4795, allocations: 6.914 MB / 0.6289 GB, free: 24.04 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.4807, allocations: 47.78 kB / 0.629 GB, free: 24.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.482, allocations: 0.6031 MB / 0.6296 GB, free: 23.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.4848, allocations: 1.34 MB / 0.6309 GB, free: 23.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002236/0.4871, allocations: 1.037 MB / 0.6319 GB, free: 22.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002409/0.4895, allocations: 3.217 MB / 0.635 GB, free: 21.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007893/0.4903, allocations: 0.7355 MB / 0.6358 GB, free: 21.04 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.4917, allocations: 0.9425 MB / 0.6367 GB, free: 20.64 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007422/0.4924, allocations: 0.8262 MB / 0.6375 GB, free: 20.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.4925, allocations: 48.28 kB / 0.6375 GB, free: 20.31 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.4939, allocations: 0.7623 MB / 0.6383 GB, free: 20.03 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.4941, allocations: 261 kB / 0.6385 GB, free: 19.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000385/0.4945, allocations: 0.5263 MB / 0.639 GB, free: 19.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.496, allocations: 1.601 MB / 0.6406 GB, free: 18.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.496, allocations: 2.844 kB / 0.6406 GB, free: 18.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.11e-07/0.496, allocations: 3.938 kB / 0.6406 GB, free: 18.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.496, allocations: 0 / 0.6406 GB, free: 18.98 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.002147/0.4982, allocations: 1.566 MB / 0.6421 GB, free: 17.92 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.4982, allocations: 10.69 kB / 0.6422 GB, free: 17.92 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.4983, allocations: 115 kB / 0.6423 GB, free: 17.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003273/0.5016, allocations: 0.5917 MB / 0.6428 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009603/0.5026, allocations: 0.8023 MB / 0.6436 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.5026, allocations: 55.78 kB / 0.6437 GB, free: 17.2 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.5027, allocations: 78.12 kB / 0.6438 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.5048, allocations: 1.1 MB / 0.6448 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.5049, allocations: 3 kB / 0.6448 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.954e-05/0.5049, allocations: 26.81 kB / 0.6449 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.505, allocations: 22.64 kB / 0.6449 GB, free: 16.64 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002799/0.5078, allocations: 1.003 MB / 0.6459 GB, free: 16.37 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.005689/0.5135, allocations: 4.958 MB / 0.6507 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00329/0.5168, allocations: 0.9025 MB / 0.6516 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001609/0.5184, allocations: 493.3 kB / 0.652 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001434/0.5198, allocations: 1.59 MB / 0.6536 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00173/0.5216, allocations: 0.5704 MB / 0.6542 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 2.905e-06/0.5216, allocations: 3.938 kB / 0.6542 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.005024/0.5266, allocations: 1.485 MB / 0.6556 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.5267, allocations: 59.17 kB / 0.6557 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.5283, allocations: 1.117 MB / 0.6568 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.279e-05/0.5284, allocations: 39.67 kB / 0.6568 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000396/0.5288, allocations: 0.5459 MB / 0.6573 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.529, allocations: 206 kB / 0.6575 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002935/0.5293, allocations: 176.7 kB / 0.6577 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.372e-05/0.5294, allocations: 334.3 kB / 0.658 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/0.5308, allocations: 451.6 kB / 0.6584 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.5326, allocations: 0.7108 MB / 0.6591 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003133/0.5358, allocations: 1.116 MB / 0.6602 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.5358, allocations: 7.125 kB / 0.6602 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003834/0.5396, allocations: 1.272 MB / 0.6615 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.5397, allocations: 8.766 kB / 0.6615 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.5397, allocations: 8.062 kB / 0.6615 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.46e-05/0.5397, allocations: 12.12 kB / 0.6615 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.541, allocations: 271 kB / 0.6618 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-05/0.541, allocations: 21.8 kB / 0.6618 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.5424, allocations: 195.1 kB / 0.662 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.5426, allocations: 49.08 kB / 0.662 GB, free: 6.504 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.0005449/0.5431, allocations: 292 kB / 0.6623 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.5433, allocations: 122 kB / 0.6624 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003919/0.5472, allocations: 1.364 MB / 0.6637 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.5473, allocations: 12.66 kB / 0.6638 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.5473, allocations: 1.25 kB / 0.6638 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.5473, allocations: 3.047 kB / 0.6638 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005363/0.5527, allocations: 2.373 MB / 0.6661 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.5527, allocations: 5.672 kB / 0.6661 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/0.5538, allocations: 187.8 kB / 0.6663 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.5538, allocations: 3.406 kB / 0.6663 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.081e-05/0.5539, allocations: 29.92 kB / 0.6663 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.896e-06/0.5539, allocations: 4.188 kB / 0.6663 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.554, allocations: 7.297 kB / 0.6663 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00541/0.5594, allocations: 1.968 MB / 0.6682 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000579/0.56, allocations: 278.7 kB / 0.6685 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.5602, allocations: 15.84 kB / 0.6685 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.5612, allocations: 117 kB / 0.6686 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.5613, allocations: 57.25 kB / 0.6687 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.091e-05/0.5614, allocations: 35.2 kB / 0.6687 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001081/0.5625, allocations: 0.7621 MB / 0.6695 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5625, allocations: 4 kB / 0.6695 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001381/0.5639, allocations: 351.2 kB / 0.6698 GB, free: 3.395 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.007165/0.5711, allocations: 3.076 MB / 0.6728 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003597/0.5747, allocations: 1.103 MB / 0.6739 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.5747, allocations: 5.625 kB / 0.6739 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001732/0.5765, allocations: 0.5726 MB / 0.6744 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/0.5788, allocations: 433.9 kB / 0.6749 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0213/0.6001, allocations: 10.55 MB / 0.6852 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006941/0.6008, allocations: 1.102 MB / 0.6862 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001342/0.6022, allocations: 253.9 kB / 0.6865 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007223/0.6029, allocations: 459.7 kB / 0.6869 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of SimCode: time 1.002e-06/0.6029, allocations: 3.938 kB / 0.6869 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0491/0.652, allocations: 29.6 MB / 0.7158 GB, free: 15.97 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002681/0.6523, allocations: 265.4 kB / 0.7161 GB, free: 15.61 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/3.141, allocations: 3.875 kB / 0.7161 GB, free: 15.61 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)