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.001196/0.001196, allocations: 104 kB / 15.6 MB, free: 148 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.001248/0.001248, allocations: 196.1 kB / 16.53 MB, free: 6.625 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.328 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.9635/0.9635, allocations: 143 MB / 433.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.91 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1509, allocations: 82.04 MB / 0.5944 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.2939/0.4449, allocations: 29.32 MB / 0.623 GB, free: 28.53 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.455, allocations: 6.877 MB / 0.6297 GB, free: 23.67 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/0.4568, allocations: 46.28 kB / 0.6298 GB, free: 23.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.4586, allocations: 0.6913 MB / 0.6305 GB, free: 23.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003612/0.4622, allocations: 1.459 MB / 0.6319 GB, free: 22.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.465, allocations: 1.148 MB / 0.633 GB, free: 21.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002836/0.4678, allocations: 2.474 MB / 0.6354 GB, free: 20.85 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.469, allocations: 0.7911 MB / 0.6362 GB, free: 20.53 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.471, allocations: 1.009 MB / 0.6372 GB, free: 20.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.472, allocations: 0.8079 MB / 0.638 GB, free: 19.76 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.4721, allocations: 68.06 kB / 0.638 GB, free: 19.76 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001929/0.4741, allocations: 0.8223 MB / 0.6388 GB, free: 19.44 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002884/0.4744, allocations: 276.6 kB / 0.6391 GB, free: 19.29 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005268/0.4749, allocations: 0.5554 MB / 0.6396 GB, free: 18.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002107/0.477, allocations: 1.636 MB / 0.6412 GB, free: 18.33 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.477, allocations: 0 / 0.6412 GB, free: 18.33 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4771, allocations: 0 / 0.6412 GB, free: 18.33 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.917e-05/0.4771, allocations: 0 / 0.6412 GB, free: 18.33 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.002589/0.4797, allocations: 1.575 MB / 0.6428 GB, free: 17.26 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.4797, allocations: 10.5 kB / 0.6428 GB, free: 17.26 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/0.4799, allocations: 115.9 kB / 0.6429 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003307/0.4832, allocations: 0.5859 MB / 0.6435 GB, free: 17.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.4843, allocations: 0.811 MB / 0.6443 GB, free: 16.56 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/0.4843, allocations: 56.53 kB / 0.6443 GB, free: 16.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.4844, allocations: 75.06 kB / 0.6444 GB, free: 16.51 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/0.4866, allocations: 1.1 MB / 0.6455 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.4866, allocations: 3.938 kB / 0.6455 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.307e-05/0.4867, allocations: 31.66 kB / 0.6455 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.4867, allocations: 21.06 kB / 0.6455 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00294/0.4896, allocations: 0.9974 MB / 0.6465 GB, free: 15.7 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.005061/0.4947, allocations: 4.962 MB / 0.6513 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003054/0.4978, allocations: 0.9027 MB / 0.6522 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.4994, allocations: 483.7 kB / 0.6527 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/0.5006, allocations: 1.597 MB / 0.6542 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001792/0.5024, allocations: 0.5772 MB / 0.6548 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 2.896e-06/0.5024, allocations: 0 / 0.6548 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.005177/0.5076, allocations: 1.484 MB / 0.6563 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.5076, allocations: 58.53 kB / 0.6563 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.5091, allocations: 1.114 MB / 0.6574 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.587e-05/0.5092, allocations: 46.62 kB / 0.6574 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/0.5096, allocations: 0.5517 MB / 0.658 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.5098, allocations: 207.8 kB / 0.6582 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000296/0.5101, allocations: 160.6 kB / 0.6583 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.132e-05/0.5102, allocations: 339.3 kB / 0.6587 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/0.5117, allocations: 447.2 kB / 0.6591 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.5133, allocations: 0.7159 MB / 0.6598 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003099/0.5164, allocations: 1.118 MB / 0.6609 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.5165, allocations: 2.125 kB / 0.6609 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003809/0.5203, allocations: 1.275 MB / 0.6621 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.5203, allocations: 8.406 kB / 0.6621 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.5203, allocations: 8.766 kB / 0.6621 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-05/0.5204, allocations: 15.73 kB / 0.6622 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.5216, allocations: 277 kB / 0.6624 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.5217, allocations: 13.41 kB / 0.6624 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.523, allocations: 180.2 kB / 0.6626 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.5231, allocations: 52.41 kB / 0.6626 GB, free: 5.84 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.0005213/0.5236, allocations: 290.2 kB / 0.6629 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.5238, allocations: 123.1 kB / 0.663 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003952/0.5278, allocations: 1.362 MB / 0.6644 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/0.5278, allocations: 8.484 kB / 0.6644 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5278, allocations: 5.344 kB / 0.6644 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.5279, allocations: 3.562 kB / 0.6644 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005187/0.5331, allocations: 2.365 MB / 0.6667 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.5331, allocations: 2.188 kB / 0.6667 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.5342, allocations: 190.5 kB / 0.6669 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/0.5342, allocations: 8.688 kB / 0.6669 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.262e-05/0.5343, allocations: 23.75 kB / 0.6669 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.373e-05/0.5343, allocations: 10.05 kB / 0.6669 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.5343, allocations: 1.375 kB / 0.6669 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005601/0.5399, allocations: 1.979 MB / 0.6689 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005265/0.5405, allocations: 282 kB / 0.6691 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.5406, allocations: 17.75 kB / 0.6691 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009357/0.5416, allocations: 101.7 kB / 0.6692 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.5417, allocations: 57.03 kB / 0.6693 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.514e-05/0.5418, allocations: 38.09 kB / 0.6693 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001219/0.543, allocations: 0.7633 MB / 0.6701 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5431, allocations: 0 / 0.6701 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001508/0.5446, allocations: 339.7 kB / 0.6704 GB, free: 2.742 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.00713/0.5517, allocations: 3.083 MB / 0.6734 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003947/0.5557, allocations: 1.186 MB / 0.6746 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.954e-06/0.5557, allocations: 0.9375 kB / 0.6746 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.5575, allocations: 0.5811 MB / 0.6751 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/0.5598, allocations: 461.1 kB / 0.6756 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02232/0.5821, allocations: 10.21 MB / 0.6855 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007343/0.5829, allocations: 1.109 MB / 0.6866 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001278/0.5842, allocations: 244.2 kB / 0.6869 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006758/0.5849, allocations: 460.7 kB / 0.6873 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of SimCode: time 1.212e-06/0.5849, allocations: 0 / 0.6873 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06767/0.6525, allocations: 30.58 MB / 0.7172 GB, free: 14.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/9.047, allocations: 4.062 kB / 0.7172 GB, free: 14.74 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)