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.001368/0.001368, allocations: 108 kB / 15.6 MB, free: 132 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.001308/0.001308, allocations: 191.3 kB / 16.53 MB, free: 6.391 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002493/0.002492, allocations: 294.8 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.028/1.028, allocations: 178.6 MB / 0.5073 GB, free: 4.57 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002712/0.002712, allocations: 101.1 kB / 0.6065 GB, free: 24.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1727, allocations: 89.14 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.532/0.7048, allocations: 193.8 MB / 0.8829 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01014/0.715, allocations: 5.162 MB / 0.8879 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001982/0.717, allocations: 51 kB / 0.8879 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.7192, allocations: 0.8101 MB / 0.8887 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006691/0.7259, allocations: 2.601 MB / 0.8913 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002969/0.7289, allocations: 1.109 MB / 0.8924 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003551/0.7324, allocations: 2.598 MB / 0.8949 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/0.7338, allocations: 0.8844 MB / 0.8958 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.736, allocations: 1.086 MB / 0.8968 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.7374, allocations: 0.9534 MB / 0.8977 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.7376, allocations: 83.94 kB / 0.8978 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003568/0.7412, allocations: 1.773 MB / 0.8996 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004974/0.7417, allocations: 442.6 kB / 0.9 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008275/0.7425, allocations: 0.6487 MB / 0.9006 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003865/0.7464, allocations: 2.138 MB / 0.9027 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.946e-06/0.7464, allocations: 4 kB / 0.9027 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.695e-06/0.7464, allocations: 0 / 0.9027 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.386e-05/0.7465, allocations: 0 / 0.9027 GB, free: 5.309 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004965/0.7514, allocations: 1.926 MB / 0.9046 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.7515, allocations: 16.03 kB / 0.9046 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001812/0.7517, allocations: 135.5 kB / 0.9047 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004424/0.7561, allocations: 0.7005 MB / 0.9054 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.7577, allocations: 0.8981 MB / 0.9063 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.313e-05/0.7578, allocations: 62 kB / 0.9064 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.758, allocations: 87.98 kB / 0.9064 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003256/0.7612, allocations: 1.469 MB / 0.9079 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.7613, allocations: 7.938 kB / 0.9079 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.7614, allocations: 32 kB / 0.9079 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.778e-05/0.7614, allocations: 45.98 kB / 0.908 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004262/0.7657, allocations: 1.561 MB / 0.9095 GB, free: 14.2 MB / 0.6387 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.007157/0.7729, allocations: 5.027 MB / 0.9144 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003515/0.7764, allocations: 1.188 MB / 0.9155 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/0.7783, allocations: 0.667 MB / 0.9162 GB, free: 7.039 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001368/0.7796, allocations: 0.9448 MB / 0.9171 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001965/0.7816, allocations: 0.7263 MB / 0.9178 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 2.856e-06/0.7816, allocations: 0 / 0.9178 GB, free: 5.172 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82): time 0.006387/0.788, allocations: 1.948 MB / 0.9197 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.7881, allocations: 60.06 kB / 0.9198 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.7899, allocations: 1.276 MB / 0.921 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.79, allocations: 49.64 kB / 0.9211 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004911/0.7905, allocations: 0.5638 MB / 0.9216 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003021/0.7908, allocations: 284 kB / 0.9219 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003231/0.7911, allocations: 182.5 kB / 0.9221 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.7913, allocations: 349.9 kB / 0.9224 GB, free: 432 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/0.793, allocations: 0.5446 MB / 0.9229 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/0.795, allocations: 0.8246 MB / 0.9237 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003535/0.7985, allocations: 1.333 MB / 0.9251 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.7985, allocations: 4 kB / 0.9251 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00427/0.8028, allocations: 1.518 MB / 0.9265 GB, free: 12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.8029, allocations: 8.094 kB / 0.9265 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.8029, allocations: 11.94 kB / 0.9266 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.8029, allocations: 12 kB / 0.9266 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.8044, allocations: 296.2 kB / 0.9269 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.122e-05/0.8045, allocations: 15.94 kB / 0.9269 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.8059, allocations: 202.7 kB / 0.9271 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.8061, allocations: 55.91 kB / 0.9271 GB, free: 11.41 MB / 0.6544 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.0005966/0.8067, allocations: 338.2 kB / 0.9274 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003058/0.807, allocations: 138.3 kB / 0.9276 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00423/0.8112, allocations: 1.44 MB / 0.929 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.8113, allocations: 12 kB / 0.929 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.8113, allocations: 0 / 0.929 GB, free: 9.473 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.8113, allocations: 3.984 kB / 0.929 GB, free: 9.469 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006596/0.8179, allocations: 2.869 MB / 0.9318 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.8179, allocations: 4.5 kB / 0.9318 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.8193, allocations: 239.6 kB / 0.932 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-05/0.8193, allocations: 4 kB / 0.932 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.949e-05/0.8194, allocations: 29.78 kB / 0.9321 GB, free: 6.227 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-05/0.8194, allocations: 8 kB / 0.9321 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/0.8194, allocations: 4 kB / 0.9321 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00592/0.8253, allocations: 2.314 MB / 0.9343 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006474/0.826, allocations: 295.3 kB / 0.9346 GB, free: 3.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002886/0.8263, allocations: 24 kB / 0.9346 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.8276, allocations: 111.9 kB / 0.9347 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.8277, allocations: 60.38 kB / 0.9348 GB, free: 3.336 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.881e-05/0.8278, allocations: 35.97 kB / 0.9348 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001245/0.8291, allocations: 0.884 MB / 0.9357 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8291, allocations: 0 / 0.9357 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001104/0.8302, allocations: 315.6 kB / 0.936 GB, free: 2.105 MB / 0.6544 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.007951/0.8381, allocations: 3.294 MB / 0.9392 GB, free: 14.91 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004293/0.8425, allocations: 1.433 MB / 0.9406 GB, free: 13.48 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.8425, allocations: 0 / 0.9406 GB, free: 13.48 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00191/0.8444, allocations: 0.6599 MB / 0.9413 GB, free: 12.82 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/0.8475, allocations: 0.623 MB / 0.9419 GB, free: 12.21 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02248/0.87, allocations: 11.96 MB / 0.9535 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009367/0.8709, allocations: 1.171 MB / 0.9547 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001566/0.8725, allocations: 350.2 kB / 0.955 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00081/0.8733, allocations: 497.9 kB / 0.9555 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of SimCode: time 8.91e-07/0.8733, allocations: 0 / 0.9555 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07397/0.9473, allocations: 34.66 MB / 0.9893 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.381/9.328, allocations: 17.8 kB / 0.9894 GB, free: 11.41 MB / 0.7169 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)