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.001245/0.001245, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001411/0.001411, allocations: 214.5 kB / 22.25 MB, free: 4.855 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.343/1.343, allocations: 230.6 MB / 256 MB, free: 7.797 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.002372/0.002372, allocations: 287 kB / 312.7 MB, free: 2.707 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.155/1.155, allocations: 180.6 MB / 0.5369 GB, free: 14.51 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.002863/0.002863, allocations: 96.73 kB / 0.7395 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1728, allocations: 95.39 MB / 0.8326 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.6101/0.7829, allocations: 155.8 MB / 0.9848 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01275/0.7956, allocations: 10.3 MB / 0.9948 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.7968, allocations: 43.12 kB / 0.9949 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.7978, allocations: 426.3 kB / 0.9953 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00274/0.8006, allocations: 1.135 MB / 0.9964 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003831/0.8044, allocations: 1.75 MB / 0.9981 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002701/0.8071, allocations: 2.412 MB / 1 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.8086, allocations: 1.101 MB / 1.002 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003483/0.8121, allocations: 1.327 MB / 1.003 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.8135, allocations: 0.7681 MB / 1.004 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000317/0.8138, allocations: 157.2 kB / 1.004 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002931/0.8167, allocations: 1.273 MB / 1.005 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003514/0.8171, allocations: 467 kB / 1.005 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006585/0.8177, allocations: 0.6499 MB / 1.006 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003191/0.8209, allocations: 2.623 MB / 1.009 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.8209, allocations: 1.094 kB / 1.009 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8209, allocations: 0 / 1.009 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.975e-05/0.8209, allocations: 4.812 kB / 1.009 GB, free: 3.016 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.003049/0.824, allocations: 1.891 MB / 1.01 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.824, allocations: 12.09 kB / 1.01 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001842/0.8242, allocations: 182.4 kB / 1.011 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002441/0.8266, allocations: 402.4 kB / 1.011 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.8282, allocations: 0.9274 MB / 1.012 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.051e-05/0.8282, allocations: 85.77 kB / 1.012 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.8284, allocations: 114.7 kB / 1.012 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.8304, allocations: 1.69 MB / 1.014 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.8304, allocations: 0 / 1.014 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.8305, allocations: 53.08 kB / 1.014 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.8306, allocations: 28.47 kB / 1.014 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.8326, allocations: 1.405 MB / 1.015 GB, free: 16.96 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.004929/0.8375, allocations: 3.152 MB / 1.018 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.8392, allocations: 1.077 MB / 1.019 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006194/0.8398, allocations: 413.5 kB / 1.02 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005266/0.8403, allocations: 119.7 kB / 1.02 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.8414, allocations: 0.8857 MB / 1.021 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=106): time 2.835e-06/0.8414, allocations: 0 / 1.021 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of matching and sorting (n=106): time 0.003373/0.8448, allocations: 1.536 MB / 1.022 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.8449, allocations: 196.7 kB / 1.022 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009806/0.8459, allocations: 0.9043 MB / 1.023 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-05/0.846, allocations: 51.42 kB / 1.023 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003727/0.8463, allocations: 0.5291 MB / 1.024 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/0.8465, allocations: 373.9 kB / 1.024 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/0.8468, allocations: 196.3 kB / 1.024 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.847, allocations: 348.7 kB / 1.025 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006532/0.8476, allocations: 358.1 kB / 1.025 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009604/0.8486, allocations: 0.6737 MB / 1.026 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.85, allocations: 0.8486 MB / 1.027 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.85, allocations: 0.9688 kB / 1.027 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002203/0.8522, allocations: 1.119 MB / 1.028 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.8522, allocations: 8.25 kB / 1.028 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.8522, allocations: 0.9688 kB / 1.028 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000548/0.8528, allocations: 83.31 kB / 1.028 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008381/0.8536, allocations: 223.7 kB / 1.028 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/0.8557, allocations: 1.538 MB / 1.029 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009036/0.8566, allocations: 124.9 kB / 1.03 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.442e-05/0.8566, allocations: 44.53 kB / 1.03 GB, free: 12.55 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.0005573/0.8572, allocations: 327.4 kB / 1.03 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/0.8574, allocations: 126.8 kB / 1.03 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002784/0.8602, allocations: 1.507 MB / 1.032 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.8602, allocations: 11.94 kB / 1.032 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.8602, allocations: 0 / 1.032 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.8602, allocations: 13.78 kB / 1.032 GB, free: 12.21 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.004527/0.8648, allocations: 2.528 MB / 1.034 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.8648, allocations: 0.9688 kB / 1.034 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007966/0.8656, allocations: 202 kB / 1.034 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004136/0.866, allocations: 74.31 kB / 1.034 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.259e-05/0.8661, allocations: 32.97 kB / 1.034 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.8679, allocations: 1.569 MB / 1.036 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.8679, allocations: 4.656 kB / 1.036 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00314/0.871, allocations: 1.873 MB / 1.038 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007052/0.8717, allocations: 277.4 kB / 1.038 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000248/0.872, allocations: 24.19 kB / 1.038 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009231/0.8729, allocations: 73.56 kB / 1.038 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.873, allocations: 95.14 kB / 1.038 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.492e-05/0.8731, allocations: 47.27 kB / 1.038 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008447/0.874, allocations: 0.6494 MB / 1.039 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.874, allocations: 0 / 1.039 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00124/0.8752, allocations: 467.1 kB / 1.039 GB, free: 9.977 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.005733/0.8809, allocations: 3.046 MB / 1.042 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002044/0.883, allocations: 1.027 MB / 1.043 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.883, allocations: 4.312 kB / 1.043 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.8841, allocations: 0.6302 MB / 1.044 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/0.8864, allocations: 0.5371 MB / 1.044 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/0.9009, allocations: 8.88 MB / 1.053 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006069/0.9015, allocations: 0.5749 MB / 1.054 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001294/0.9028, allocations: 382.3 kB / 1.054 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008327/0.9036, allocations: 0.5379 MB / 1.054 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of SimCode: time 7.82e-07/0.9036, allocations: 0 / 1.054 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08168/0.9853, allocations: 36.22 MB / 1.09 GB, free: 7.879 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.47, allocations: 9.438 kB / 1.09 GB, free: 7.875 MB / 0.7637 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.294200750999153] Failed to read output from testmodel.py, exit status != 0: 14.704648338723928 14.720383328 13.896404942 Calling exit ...