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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 211.6 kB / 22.25 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.364/1.364, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002624/0.002624, allocations: 283.4 kB / 312.7 MB, free: 2.891 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.151/1.151, allocations: 180.6 MB / 0.5369 GB, free: 13.01 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002798/0.002798, allocations: 106.6 kB / 0.7396 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1706, allocations: 95.38 MB / 0.8327 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.5812/0.7518, allocations: 180.3 MB / 1.009 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01281/0.7647, allocations: 11.2 MB / 1.02 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.7662, allocations: 46.08 kB / 1.02 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.7673, allocations: 435 kB / 1.02 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003025/0.7703, allocations: 1.13 MB / 1.021 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003853/0.7742, allocations: 1.801 MB / 1.023 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002522/0.7767, allocations: 2.41 MB / 1.025 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.778, allocations: 1.138 MB / 1.027 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003092/0.7811, allocations: 1.346 MB / 1.028 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.7823, allocations: 0.843 MB / 1.029 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000226/0.7826, allocations: 156.8 kB / 1.029 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002723/0.7853, allocations: 1.515 MB / 1.03 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003138/0.7856, allocations: 466.5 kB / 1.031 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006336/0.7862, allocations: 0.7926 MB / 1.031 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003309/0.7895, allocations: 2.645 MB / 1.034 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7895, allocations: 1 kB / 1.034 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7895, allocations: 0 / 1.034 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.768e-05/0.7896, allocations: 0 / 1.034 GB, free: 2.156 MB / 0.7169 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.002924/0.7925, allocations: 1.897 MB / 1.036 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.7925, allocations: 10.84 kB / 1.036 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001637/0.7927, allocations: 179.8 kB / 1.036 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002423/0.7951, allocations: 407.9 kB / 1.037 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.7966, allocations: 0.9187 MB / 1.037 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.522e-05/0.7966, allocations: 93.39 kB / 1.037 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.7968, allocations: 117.3 kB / 1.038 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.7986, allocations: 1.294 MB / 1.039 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.7986, allocations: 3.188 kB / 1.039 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.7987, allocations: 52.67 kB / 1.039 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.7987, allocations: 36.84 kB / 1.039 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.8006, allocations: 1.446 MB / 1.04 GB, free: 16.57 MB / 0.7325 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.005273/0.8059, allocations: 3.998 MB / 1.044 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.8077, allocations: 1.074 MB / 1.045 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006205/0.8083, allocations: 416 kB / 1.046 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005499/0.8089, allocations: 120 kB / 1.046 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009553/0.8098, allocations: 0.6564 MB / 1.046 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=106): time 2.234e-06/0.8098, allocations: 0 / 1.046 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of matching and sorting (n=106): time 0.003471/0.8133, allocations: 1.547 MB / 1.048 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.8134, allocations: 193.3 kB / 1.048 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.8144, allocations: 0.9064 MB / 1.049 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.641e-05/0.8145, allocations: 47.55 kB / 1.049 GB, free: 14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004278/0.8149, allocations: 0.5249 MB / 1.05 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003049/0.8152, allocations: 373.3 kB / 1.05 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.8155, allocations: 200 kB / 1.05 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.8157, allocations: 345.1 kB / 1.05 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006459/0.8163, allocations: 363.3 kB / 1.051 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007773/0.8171, allocations: 0.5036 MB / 1.051 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.8185, allocations: 0.8461 MB / 1.052 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.8185, allocations: 6.25 kB / 1.052 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002332/0.8208, allocations: 1.121 MB / 1.053 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.8209, allocations: 9.25 kB / 1.053 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.8209, allocations: 0 / 1.053 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005765/0.8214, allocations: 84.19 kB / 1.053 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008435/0.8223, allocations: 218.4 kB / 1.054 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.8243, allocations: 1.545 MB / 1.055 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008461/0.8252, allocations: 121.4 kB / 1.055 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.823e-05/0.8252, allocations: 43.52 kB / 1.055 GB, free: 10.2 MB / 0.7325 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.0005284/0.8258, allocations: 325.1 kB / 1.056 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/0.826, allocations: 130.9 kB / 1.056 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/0.8288, allocations: 1.512 MB / 1.057 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.8288, allocations: 11.88 kB / 1.057 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.8288, allocations: 0 / 1.057 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.8288, allocations: 8.969 kB / 1.057 GB, free: 9.305 MB / 0.7325 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.004475/0.8333, allocations: 2.753 MB / 1.06 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.8333, allocations: 6.953 kB / 1.06 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008129/0.8341, allocations: 199.7 kB / 1.06 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004109/0.8345, allocations: 73.77 kB / 1.06 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-05/0.8346, allocations: 36.31 kB / 1.06 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.8365, allocations: 1.578 MB / 1.062 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8365, allocations: 2.312 kB / 1.062 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003223/0.8397, allocations: 1.872 MB / 1.064 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000612/0.8403, allocations: 285.4 kB / 1.064 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.8405, allocations: 24.03 kB / 1.064 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008471/0.8413, allocations: 75.39 kB / 1.064 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.8415, allocations: 90.55 kB / 1.064 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-05/0.8416, allocations: 56.06 kB / 1.064 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008172/0.8424, allocations: 0.6406 MB / 1.065 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8424, allocations: 0.8125 kB / 1.065 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001044/0.8434, allocations: 462.7 kB / 1.065 GB, free: 4.539 MB / 0.7325 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.005436/0.8489, allocations: 3.012 MB / 1.068 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00199/0.8508, allocations: 1.03 MB / 1.069 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8509, allocations: 0.875 kB / 1.069 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.852, allocations: 0.6286 MB / 1.07 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.8541, allocations: 0.5321 MB / 1.07 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/0.8685, allocations: 8.889 MB / 1.079 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008305/0.8693, allocations: 1.158 MB / 1.08 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001252/0.8706, allocations: 381.8 kB / 1.08 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00077/0.8713, allocations: 0.5383 MB / 1.081 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of SimCode: time 8.31e-07/0.8713, allocations: 3.188 kB / 1.081 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08196/0.9533, allocations: 34.42 MB / 1.114 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/15.04, allocations: 0 / 1.114 GB, free: 6.715 MB / 0.7794 GB " [Timeout remaining time 645] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.90724451999995] Failed to read output from testmodel.py, exit status != 0: 15.27149331200053 15.287114315 14.494464667 Calling exit ...