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.005206/0.005206, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001542/0.001542, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002428/0.002428, allocations: 289 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.173/1.173, allocations: 178.5 MB / 0.5074 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002624/0.002624, allocations: 103.8 kB / 0.6943 GB, free: 15.2 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4381, allocations: 89.13 MB / 0.7813 GB, free: 1.129 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.2/0.6381, allocations: 176.5 MB / 0.9537 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01723/0.6553, allocations: 10.91 MB / 0.9644 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.6567, allocations: 31.81 kB / 0.9644 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.6582, allocations: 416.7 kB / 0.9648 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003582/0.6618, allocations: 1.092 MB / 0.9659 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004365/0.6662, allocations: 1.709 MB / 0.9675 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003218/0.6694, allocations: 2.377 MB / 0.9698 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002341/0.6718, allocations: 1.42 MB / 0.9712 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003429/0.6752, allocations: 1.255 MB / 0.9725 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.6766, allocations: 0.8052 MB / 0.9732 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003951/0.677, allocations: 156 kB / 0.9734 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003011/0.68, allocations: 1.408 MB / 0.9748 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005734/0.6806, allocations: 458.6 kB / 0.9752 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00117/0.6818, allocations: 0.793 MB / 0.976 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004427/0.6862, allocations: 2.588 MB / 0.9785 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6862, allocations: 0 / 0.9785 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6862, allocations: 0 / 0.9785 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.328e-05/0.6863, allocations: 0 / 0.9785 GB, free: 14.08 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004112/0.6904, allocations: 1.939 MB / 0.9804 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.6905, allocations: 12.03 kB / 0.9804 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002828/0.6908, allocations: 177.4 kB / 0.9806 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002238/0.693, allocations: 358.7 kB / 0.9809 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001796/0.6948, allocations: 0.9961 MB / 0.9819 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-05/0.6949, allocations: 86.33 kB / 0.982 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/0.6951, allocations: 128 kB / 0.9821 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002527/0.6977, allocations: 1.302 MB / 0.9834 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.6977, allocations: 0 / 0.9834 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.6978, allocations: 48 kB / 0.9834 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.77e-05/0.6979, allocations: 28 kB / 0.9834 GB, free: 8.84 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002544/0.7004, allocations: 1.449 MB / 0.9849 GB, free: 7.383 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.006618/0.707, allocations: 4.043 MB / 0.9888 GB, free: 3.141 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/0.7094, allocations: 1.215 MB / 0.99 GB, free: 1.898 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008372/0.7103, allocations: 456.2 kB / 0.9904 GB, free: 1.453 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007636/0.7111, allocations: 425.5 kB / 0.9908 GB, free: 0.9609 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001224/0.7123, allocations: 0.6644 MB / 0.9915 GB, free: 288 kB / 0.7481 GB Notification: Performance of pre-optimization done (n=106): time 3.006e-06/0.7123, allocations: 0 / 0.9915 GB, free: 288 kB / 0.7481 GB Notification: Performance of matching and sorting (n=106): time 0.3024/1.015, allocations: 1.609 MB / 0.9931 GB, free: 201.5 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/1.015, allocations: 194.5 kB / 0.9932 GB, free: 201.3 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/1.016, allocations: 0.8784 MB / 0.9941 GB, free: 200.9 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.521e-05/1.016, allocations: 53.27 kB / 0.9942 GB, free: 200.9 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/1.017, allocations: 0.5258 MB / 0.9947 GB, free: 200.6 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/1.017, allocations: 371.1 kB / 0.995 GB, free: 200.3 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/1.017, allocations: 190.4 kB / 0.9952 GB, free: 200.2 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 7.064e-05/1.017, allocations: 351.3 kB / 0.9955 GB, free: 199.9 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007166/1.018, allocations: 358.5 kB / 0.9959 GB, free: 199.8 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008318/1.019, allocations: 0.4997 MB / 0.9964 GB, free: 199.5 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/1.02, allocations: 0.8437 MB / 0.9972 GB, free: 199.2 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/1.02, allocations: 1.094 kB / 0.9972 GB, free: 199.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002481/1.023, allocations: 1.128 MB / 0.9983 GB, free: 198.7 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/1.023, allocations: 7.25 kB / 0.9983 GB, free: 198.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.023, allocations: 1.094 kB / 0.9983 GB, free: 198.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/1.023, allocations: 84.11 kB / 0.9984 GB, free: 198.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009488/1.024, allocations: 221.9 kB / 0.9986 GB, free: 198.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/1.026, allocations: 1.642 MB / 1 GB, free: 197.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008578/1.027, allocations: 131.4 kB / 1 GB, free: 197.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.579e-05/1.027, allocations: 42.05 kB / 1 GB, free: 197.1 MB / 0.7481 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.000522/1.028, allocations: 328 kB / 1.001 GB, free: 196.9 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/1.028, allocations: 125 kB / 1.001 GB, free: 196.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00305/1.031, allocations: 1.508 MB / 1.002 GB, free: 196.2 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/1.031, allocations: 12.23 kB / 1.002 GB, free: 196.2 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/1.031, allocations: 0.5312 kB / 1.002 GB, free: 196.2 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/1.031, allocations: 10.08 kB / 1.002 GB, free: 196.2 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 postOpt removeSimpleEquations (simulation): time 0.004783/1.036, allocations: 2.847 MB / 1.005 GB, free: 194.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/1.036, allocations: 2.438 kB / 1.005 GB, free: 194.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008503/1.037, allocations: 191.7 kB / 1.005 GB, free: 194.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004256/1.037, allocations: 75.77 kB / 1.005 GB, free: 194.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.41e-05/1.037, allocations: 35.83 kB / 1.005 GB, free: 194.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/1.039, allocations: 1.672 MB / 1.007 GB, free: 193.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.039, allocations: 6.188 kB / 1.007 GB, free: 193.3 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003168/1.042, allocations: 1.872 MB / 1.009 GB, free: 192.4 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004101/1.042, allocations: 347.3 kB / 1.009 GB, free: 192.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/1.042, allocations: 24 kB / 1.009 GB, free: 192.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008263/1.043, allocations: 77.86 kB / 1.009 GB, free: 192.1 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/1.043, allocations: 97.62 kB / 1.009 GB, free: 192 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.039e-05/1.044, allocations: 51 kB / 1.009 GB, free: 192 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007913/1.044, allocations: 0.6275 MB / 1.01 GB, free: 191.6 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/1.044, allocations: 0 / 1.01 GB, free: 191.6 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001162/1.046, allocations: 463.1 kB / 1.01 GB, free: 191.6 MB / 0.7481 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.005147/1.051, allocations: 3.026 MB / 1.013 GB, free: 189.8 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002024/1.053, allocations: 1.062 MB / 1.014 GB, free: 189.3 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/1.053, allocations: 0 / 1.014 GB, free: 189.3 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/1.054, allocations: 0.6675 MB / 1.015 GB, free: 188.9 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/1.056, allocations: 0.5283 MB / 1.016 GB, free: 188.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/1.068, allocations: 8.806 MB / 1.024 GB, free: 183.4 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/1.068, allocations: 1.165 MB / 1.025 GB, free: 182.5 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001075/1.07, allocations: 370.2 kB / 1.026 GB, free: 182.3 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005657/1.07, allocations: 0.5329 MB / 1.026 GB, free: 181.9 MB / 0.7481 GB Notification: Performance of SimCode: time 5.41e-07/1.07, allocations: 0 / 1.026 GB, free: 181.9 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06168/1.132, allocations: 33.19 MB / 1.059 GB, free: 151.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.48, allocations: 10.75 kB / 1.059 GB, free: 151.2 MB / 0.7481 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)