Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.008031/0.008031, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.002192/0.002192, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002507/0.002507, allocations: 290 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.102/1.102, allocations: 178.6 MB / 0.5074 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002655/0.002655, allocations: 99.86 kB / 0.6943 GB, free: 3.57 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4825/0.4851, allocations: 89.14 MB / 0.7814 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.2241/0.7093, allocations: 193.8 MB / 0.9707 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009305/0.7187, allocations: 5.145 MB / 0.9757 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.7199, allocations: 47.69 kB / 0.9757 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.7219, allocations: 0.8119 MB / 0.9765 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006327/0.7283, allocations: 2.602 MB / 0.9791 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002928/0.7312, allocations: 1.103 MB / 0.9801 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00368/0.7349, allocations: 2.602 MB / 0.9827 GB, free: 356 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/0.7366, allocations: 0.8884 MB / 0.9835 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002634/0.7392, allocations: 1.086 MB / 0.9846 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.7407, allocations: 0.9534 MB / 0.9855 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001726/0.7408, allocations: 80 kB / 0.9856 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003528/0.7444, allocations: 1.785 MB / 0.9874 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005271/0.7449, allocations: 438.6 kB / 0.9878 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008154/0.7457, allocations: 0.6565 MB / 0.9884 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003746/0.7495, allocations: 2.172 MB / 0.9905 GB, free: 8.266 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7495, allocations: 0 / 0.9905 GB, free: 8.266 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.522e-06/0.7495, allocations: 0 / 0.9905 GB, free: 8.266 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.973e-05/0.7496, allocations: 0 / 0.9905 GB, free: 8.266 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005022/0.7546, allocations: 1.978 MB / 0.9925 GB, free: 6.23 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.7546, allocations: 8.031 kB / 0.9925 GB, free: 6.223 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001897/0.7548, allocations: 139.5 kB / 0.9926 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004452/0.7593, allocations: 0.7169 MB / 0.9933 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.7612, allocations: 0.9655 MB / 0.9942 GB, free: 4.336 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.944e-05/0.7613, allocations: 62 kB / 0.9943 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.7614, allocations: 95.92 kB / 0.9944 GB, free: 4.184 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003331/0.7648, allocations: 1.461 MB / 0.9958 GB, free: 2.664 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.7648, allocations: 3.938 kB / 0.9958 GB, free: 2.66 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.7649, allocations: 32 kB / 0.9959 GB, free: 2.629 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.32e-05/0.765, allocations: 53.98 kB / 0.9959 GB, free: 2.578 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00437/0.7694, allocations: 1.557 MB / 0.9974 GB, free: 1.02 MB / 0.7481 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.00724/0.7766, allocations: 5.035 MB / 1.002 GB, free: 11.72 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003662/0.7803, allocations: 1.18 MB / 1.004 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/0.7822, allocations: 0.6629 MB / 1.004 GB, free: 9.863 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/0.7835, allocations: 0.941 MB / 1.005 GB, free: 8.738 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001977/0.7855, allocations: 0.7263 MB / 1.006 GB, free: 7.996 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=82): time 5.32e-06/0.7855, allocations: 3.984 kB / 1.006 GB, free: 7.992 MB / 0.7637 GB Notification: Performance of matching and sorting (n=82): time 0.006181/0.7917, allocations: 1.957 MB / 1.008 GB, free: 6.031 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.7918, allocations: 64 kB / 1.008 GB, free: 5.957 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.7934, allocations: 1.272 MB / 1.009 GB, free: 4.68 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.7936, allocations: 45.7 kB / 1.009 GB, free: 4.629 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005787/0.7941, allocations: 0.5685 MB / 1.01 GB, free: 4.055 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004001/0.7946, allocations: 309.4 kB / 1.01 GB, free: 3.75 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004084/0.795, allocations: 186.6 kB / 1.01 GB, free: 3.559 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002215/0.7952, allocations: 341.9 kB / 1.01 GB, free: 3.219 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/0.797, allocations: 0.5484 MB / 1.011 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/0.799, allocations: 0.8208 MB / 1.012 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003583/0.8026, allocations: 1.336 MB / 1.013 GB, free: 324 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.8026, allocations: 4 kB / 1.013 GB, free: 320 kB / 0.7637 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004263/0.8069, allocations: 1.527 MB / 1.015 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.8069, allocations: 8 kB / 1.015 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.8069, allocations: 4 kB / 1.015 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-05/0.807, allocations: 12 kB / 1.015 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.8084, allocations: 296.2 kB / 1.015 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.148e-05/0.8084, allocations: 15.94 kB / 1.015 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.8098, allocations: 207 kB / 1.015 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.81, allocations: 47.97 kB / 1.015 GB, free: 14.2 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0006009/0.8106, allocations: 336.2 kB / 1.015 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/0.8108, allocations: 147 kB / 1.016 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004279/0.8151, allocations: 1.448 MB / 1.017 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.8151, allocations: 12 kB / 1.017 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.8151, allocations: 4 kB / 1.017 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.8152, allocations: 7.922 kB / 1.017 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006201/0.8214, allocations: 2.858 MB / 1.02 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.8214, allocations: 4 kB / 1.02 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/0.8227, allocations: 239.6 kB / 1.02 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/0.8227, allocations: 8 kB / 1.02 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.307e-05/0.8228, allocations: 23.97 kB / 1.02 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/0.8228, allocations: 8 kB / 1.02 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.8228, allocations: 4 kB / 1.02 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005955/0.8288, allocations: 2.323 MB / 1.022 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005752/0.8294, allocations: 307.9 kB / 1.023 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.8296, allocations: 24 kB / 1.023 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.8307, allocations: 115.9 kB / 1.023 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.8308, allocations: 60.38 kB / 1.023 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.673e-05/0.8309, allocations: 35.97 kB / 1.023 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001159/0.8321, allocations: 0.8801 MB / 1.024 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8321, allocations: 0 / 1.024 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001054/0.8332, allocations: 319.7 kB / 1.024 GB, free: 4.863 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (82): * Single equations (assignments): 76 * 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.008019/0.8412, allocations: 3.288 MB / 1.027 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003985/0.8452, allocations: 1.323 MB / 1.029 GB, free: 352 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.8452, allocations: 0 / 1.029 GB, free: 352 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001932/0.8472, allocations: 0.6522 MB / 1.029 GB, free: 15.69 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002891/0.8501, allocations: 0.6368 MB / 1.03 GB, free: 15.07 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02205/0.8722, allocations: 11.16 MB / 1.041 GB, free: 3.508 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008451/0.873, allocations: 1.167 MB / 1.042 GB, free: 2.309 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001316/0.8744, allocations: 346.2 kB / 1.042 GB, free: 1.969 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008138/0.8752, allocations: 499.2 kB / 1.043 GB, free: 1.48 MB / 0.795 GB Notification: Performance of SimCode: time 8.72e-07/0.8752, allocations: 0 / 1.043 GB, free: 1.48 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4195/1.295, allocations: 35.03 MB / 1.077 GB, free: 269.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/11.85, allocations: 6 kB / 1.077 GB, free: 269.7 MB / 0.8262 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)