Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.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.001299/0.001299, allocations: 78.81 kB / 19.01 MB, free: 2.859 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.001439/0.001439, allocations: 161.8 kB / 22.26 MB, free: 5.102 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.425/1.425, allocations: 177.2 MB / 202.6 MB, free: 9.277 MB / 190.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.002768/0.002768, allocations: 233.6 kB / 259.3 MB, free: 0.5938 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.039/1.039, allocations: 138.5 MB / 454.2 MB, free: 2.039 MB / 366.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: translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") [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.003056/0.003056, allocations: 95.84 kB / 0.6466 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.406, allocations: 95.35 MB / 0.7397 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00802/0.4141, allocations: 5.081 MB / 0.7446 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.172/0.586, allocations: 133 MB / 0.8745 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009982/0.587, allocations: 39.62 kB / 0.8745 GB, free: 4.48 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0009065/0.588, allocations: 377.3 kB / 0.8749 GB, free: 4.109 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001781/0.5897, allocations: 0.5865 MB / 0.8755 GB, free: 3.523 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002053/0.5918, allocations: 0.8981 MB / 0.8763 GB, free: 2.633 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001665/0.5935, allocations: 1.578 MB / 0.8779 GB, free: 1.051 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008234/0.5943, allocations: 0.4885 MB / 0.8783 GB, free: 0.5234 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.5954, allocations: 0.8609 MB / 0.8792 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006557/0.5961, allocations: 0.5206 MB / 0.8797 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.5963, allocations: 132 kB / 0.8798 GB, free: 15 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008889/0.5971, allocations: 0.4996 MB / 0.8803 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003159/0.5975, allocations: 334.8 kB / 0.8806 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005092/0.598, allocations: 0.5246 MB / 0.8811 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002292/0.6003, allocations: 1.988 MB / 0.8831 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6003, allocations: 0 / 0.8831 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.143e-06/0.6003, allocations: 0 / 0.8831 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.728e-05/0.6003, allocations: 4 kB / 0.8831 GB, free: 11.65 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002921/0.6032, allocations: 1.679 MB / 0.8847 GB, free: 9.934 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.6032, allocations: 13.33 kB / 0.8847 GB, free: 9.922 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.6048, allocations: 267.8 kB / 0.885 GB, free: 9.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.6063, allocations: 0.8427 MB / 0.8858 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.275e-05/0.6064, allocations: 74 kB / 0.8859 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.6066, allocations: 92 kB / 0.886 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/0.6086, allocations: 1.286 MB / 0.8872 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.6086, allocations: 0 / 0.8872 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.722e-05/0.6087, allocations: 40 kB / 0.8873 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/0.6088, allocations: 24 kB / 0.8873 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.6108, allocations: 1.132 MB / 0.8884 GB, free: 6.043 MB / 0.7169 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.004342/0.6152, allocations: 2.346 MB / 0.8907 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.6167, allocations: 0.7471 MB / 0.8914 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005536/0.6173, allocations: 274.7 kB / 0.8917 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.351e-05/0.6174, allocations: 32.56 kB / 0.8917 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.6184, allocations: 0.5854 MB / 0.8923 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=78): time 2.324e-06/0.6184, allocations: 0 / 0.8923 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=78): time 0.003387/0.6218, allocations: 1.127 MB / 0.8934 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/0.6219, allocations: 192.6 kB / 0.8936 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.6231, allocations: 0.7514 MB / 0.8943 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.714e-05/0.6231, allocations: 37.7 kB / 0.8943 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004909/0.6236, allocations: 0.5281 MB / 0.8949 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.6239, allocations: 273.7 kB / 0.8951 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002737/0.6241, allocations: 166.5 kB / 0.8953 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000198/0.6243, allocations: 337.9 kB / 0.8956 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005727/0.6249, allocations: 261.9 kB / 0.8958 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008364/0.6257, allocations: 491.6 kB / 0.8963 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.627, allocations: 0.6071 MB / 0.8969 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.627, allocations: 0 / 0.8969 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002165/0.6291, allocations: 0.8647 MB / 0.8977 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.6291, allocations: 4 kB / 0.8978 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.6292, allocations: 4 kB / 0.8978 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006806/0.6298, allocations: 88.8 kB / 0.8978 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006745/0.6305, allocations: 155.8 kB / 0.898 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002333/0.6328, allocations: 1.509 MB / 0.8995 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007172/0.6336, allocations: 91.66 kB / 0.8996 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.47e-05/0.6336, allocations: 35.97 kB / 0.8996 GB, free: 10.22 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (92): * Single equations (assignments): 91 * 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.0004771/0.6341, allocations: 299.6 kB / 0.8999 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.6343, allocations: 107.3 kB / 0.9 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.6368, allocations: 1.067 MB / 0.901 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.6368, allocations: 8 kB / 0.901 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.6368, allocations: 0 / 0.901 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.6369, allocations: 3.984 kB / 0.901 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009737/0.6378, allocations: 0.7239 MB / 0.9017 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.6378, allocations: 0 / 0.9017 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005967/0.6384, allocations: 139.8 kB / 0.9019 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004575/0.6389, allocations: 84.77 kB / 0.9019 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-05/0.6389, allocations: 19.98 kB / 0.902 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/0.641, allocations: 1.54 MB / 0.9035 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.641, allocations: 0 / 0.9035 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.643, allocations: 0.9516 MB / 0.9044 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003997/0.6434, allocations: 215 kB / 0.9046 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.6435, allocations: 20 kB / 0.9046 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006249/0.6442, allocations: 63.92 kB / 0.9047 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.6443, allocations: 68.86 kB / 0.9048 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.942e-05/0.6444, allocations: 35.98 kB / 0.9048 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006964/0.6451, allocations: 0.5224 MB / 0.9053 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.6451, allocations: 4 kB / 0.9053 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008798/0.646, allocations: 358.9 kB / 0.9056 GB, free: 3.824 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * 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.002017/0.648, allocations: 0.6407 MB / 0.9063 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001702/0.6497, allocations: 0.7924 MB / 0.907 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6497, allocations: 0 / 0.907 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009677/0.6506, allocations: 0.4884 MB / 0.9075 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.6523, allocations: 476.8 kB / 0.908 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/0.6556, allocations: 1.978 MB / 0.9099 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005658/0.6562, allocations: 0.5213 MB / 0.9104 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007889/0.657, allocations: 275.3 kB / 0.9107 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/0.6573, allocations: 116.4 kB / 0.9108 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of SimCode: time 4.21e-07/0.6573, allocations: 0 / 0.9108 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of Templates: time 0.03094/0.6882, allocations: 17.73 MB / 0.9281 GB, free: 13.28 MB / 0.7637 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.912412438541651] Failed to read output from testmodel.py, exit status != 0: 0.6967867407947779 0.97142124 0.107527703 Calling exit ...