Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.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.Sources.Examples.Outside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside",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.001322/0.001322, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002397/0.002397, allocations: 295 kB / 290.7 MB, free: 2.023 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.035/1.035, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002614/0.002614, allocations: 101.5 kB / 0.6065 GB, free: 24.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1681, allocations: 89.14 MB / 0.6936 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.4687/0.6369, allocations: 176.5 MB / 0.866 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01413/0.651, allocations: 10.89 MB / 0.8766 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.6523, allocations: 31.94 kB / 0.8766 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.6535, allocations: 423 kB / 0.877 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002834/0.6563, allocations: 1.081 MB / 0.8781 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003592/0.6599, allocations: 1.716 MB / 0.8798 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002202/0.6621, allocations: 2.366 MB / 0.8821 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/0.6638, allocations: 1.411 MB / 0.8835 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002729/0.6665, allocations: 1.25 MB / 0.8847 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009261/0.6674, allocations: 0.813 MB / 0.8855 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002134/0.6677, allocations: 152 kB / 0.8856 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002581/0.6702, allocations: 1.38 MB / 0.887 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005074/0.6708, allocations: 442.7 kB / 0.8874 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007421/0.6715, allocations: 0.8008 MB / 0.8882 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003053/0.6746, allocations: 2.536 MB / 0.8907 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6746, allocations: 0 / 0.8907 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.512e-06/0.6746, allocations: 7.938 kB / 0.8907 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.6746, allocations: 0 / 0.8907 GB, free: 1.75 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003263/0.6779, allocations: 1.88 MB / 0.8925 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.6779, allocations: 8.031 kB / 0.8925 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002156/0.6782, allocations: 185.3 kB / 0.8927 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/0.6802, allocations: 357.7 kB / 0.893 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.6817, allocations: 0.9408 MB / 0.8939 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.645e-05/0.6818, allocations: 90.27 kB / 0.894 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.682, allocations: 116 kB / 0.8941 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.6841, allocations: 1.302 MB / 0.8954 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.6842, allocations: 4 kB / 0.8954 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.6843, allocations: 52 kB / 0.8955 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.6843, allocations: 28 kB / 0.8955 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002394/0.6867, allocations: 1.449 MB / 0.8969 GB, free: 11.16 MB / 0.6231 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.006034/0.6928, allocations: 4.082 MB / 0.9009 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/0.695, allocations: 1.215 MB / 0.9021 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007794/0.6958, allocations: 452.4 kB / 0.9025 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007369/0.6966, allocations: 437.2 kB / 0.9029 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/0.6977, allocations: 0.6489 MB / 0.9036 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=106): time 2.655e-06/0.6977, allocations: 4 kB / 0.9036 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of matching and sorting (n=106): time 0.003965/0.7017, allocations: 1.606 MB / 0.9051 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.7018, allocations: 192.9 kB / 0.9053 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.7029, allocations: 0.8789 MB / 0.9062 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.778e-05/0.703, allocations: 53.64 kB / 0.9062 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/0.7035, allocations: 0.516 MB / 0.9067 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.7038, allocations: 350.9 kB / 0.9071 GB, free: 332 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003048/0.7041, allocations: 194.5 kB / 0.9073 GB, free: 132 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.7043, allocations: 345.9 kB / 0.9076 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007289/0.705, allocations: 357.8 kB / 0.9079 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008786/0.7059, allocations: 0.5049 MB / 0.9084 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.7074, allocations: 0.8445 MB / 0.9092 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7075, allocations: 0 / 0.9092 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002489/0.71, allocations: 1.118 MB / 0.9103 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.71, allocations: 4 kB / 0.9103 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.71, allocations: 5.25 kB / 0.9103 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005733/0.7106, allocations: 84.8 kB / 0.9104 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009217/0.7115, allocations: 223.7 kB / 0.9106 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.7137, allocations: 1.655 MB / 0.9123 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008642/0.7146, allocations: 123 kB / 0.9124 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.622e-05/0.7147, allocations: 43.97 kB / 0.9124 GB, free: 10.63 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005341/0.7152, allocations: 314.8 kB / 0.9127 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.7154, allocations: 122.5 kB / 0.9128 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003096/0.7185, allocations: 1.51 MB / 0.9143 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.7186, allocations: 12 kB / 0.9143 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.7186, allocations: 0 / 0.9143 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.7186, allocations: 7.969 kB / 0.9143 GB, free: 8.641 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 postOpt removeSimpleEquations (simulation): time 0.004747/0.7233, allocations: 2.842 MB / 0.9171 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.7234, allocations: 0 / 0.9171 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008771/0.7242, allocations: 203.6 kB / 0.9173 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004352/0.7247, allocations: 76.95 kB / 0.9174 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-05/0.7248, allocations: 31.98 kB / 0.9174 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/0.7268, allocations: 1.678 MB / 0.919 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.7268, allocations: 0 / 0.919 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003516/0.7303, allocations: 1.864 MB / 0.9209 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005627/0.7309, allocations: 351.2 kB / 0.9212 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.7311, allocations: 27.94 kB / 0.9212 GB, free: 1.266 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008635/0.7319, allocations: 71.92 kB / 0.9213 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/0.7321, allocations: 92.81 kB / 0.9214 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-05/0.7322, allocations: 47.97 kB / 0.9214 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008708/0.7331, allocations: 0.63 MB / 0.922 GB, free: 428 kB / 0.6387 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7331, allocations: 0 / 0.922 GB, free: 428 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001128/0.7342, allocations: 447.2 kB / 0.9225 GB, free: 15.98 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005717/0.74, allocations: 3.04 MB / 0.9254 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003412/0.7434, allocations: 1.323 MB / 0.9267 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.7434, allocations: 3.938 kB / 0.9267 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.7448, allocations: 0.6648 MB / 0.9274 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/0.7473, allocations: 0.5267 MB / 0.9279 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/0.7624, allocations: 9.294 MB / 0.937 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008778/0.7633, allocations: 1.166 MB / 0.9381 GB, free: 15.71 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001495/0.7649, allocations: 369.6 kB / 0.9385 GB, free: 15.35 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008017/0.7657, allocations: 0.5305 MB / 0.939 GB, free: 14.82 MB / 0.67 GB Notification: Performance of SimCode: time 8.52e-07/0.7657, allocations: 0 / 0.939 GB, free: 14.82 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0763/0.842, allocations: 32.9 MB / 0.9711 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.68, allocations: 7.938 kB / 0.9711 GB, free: 14.39 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe 2>&1)