Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0007188/0.0007188, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009604/0.001679, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007355/0.0007355, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009309/0.001666, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9844/0.9844, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08821/1.073, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.938/1.938, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5023/2.441, allocations: 127.1 MB / 0.7432 GB, free: 4.609 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0.7656 kB / 0.7444 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.842e-05, allocations: 2.312 kB / 0.7444 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007928/0.007956, allocations: 5.388 MB / 0.7497 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1706/0.1785, allocations: 146.8 MB / 0.8931 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.1797, allocations: 39.62 kB / 0.8931 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008447/0.1805, allocations: 357.2 kB / 0.8934 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.1825, allocations: 0.5858 MB / 0.894 GB, free: 9.82 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.1844, allocations: 0.8842 MB / 0.8949 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001715/0.1861, allocations: 1.62 MB / 0.8965 GB, free: 7.305 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007859/0.1869, allocations: 0.4958 MB / 0.8969 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.1882, allocations: 0.96 MB / 0.8979 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005072/0.1887, allocations: 422.7 kB / 0.8983 GB, free: 5.387 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.1888, allocations: 128 kB / 0.8984 GB, free: 5.262 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.1898, allocations: 0.5227 MB / 0.8989 GB, free: 4.738 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002376/0.1901, allocations: 255.1 kB / 0.8992 GB, free: 4.488 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003761/0.1905, allocations: 347.1 kB / 0.8995 GB, free: 4.148 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.1924, allocations: 1.257 MB / 0.9007 GB, free: 2.887 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.022e-05/0.1924, allocations: 0 / 0.9007 GB, free: 2.887 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1924, allocations: 0 / 0.9007 GB, free: 2.887 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.973e-05/0.1924, allocations: 0 / 0.9007 GB, free: 2.887 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.002246/0.1947, allocations: 1.931 MB / 0.9026 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.1947, allocations: 12.03 kB / 0.9026 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.1958, allocations: 397.3 kB / 0.903 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.1969, allocations: 0.7188 MB / 0.9037 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.736e-05/0.197, allocations: 82.16 kB / 0.9038 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.1971, allocations: 108 kB / 0.9039 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.1981, allocations: 0.9503 MB / 0.9048 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.1982, allocations: 0 / 0.9048 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.497e-05/0.1982, allocations: 43.98 kB / 0.9049 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.1983, allocations: 28 kB / 0.9049 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008366/0.1991, allocations: 0.5947 MB / 0.9055 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002989/0.2021, allocations: 1.835 MB / 0.9073 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006514/0.2027, allocations: 402.4 kB / 0.9076 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.2029, allocations: 136.8 kB / 0.9078 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.362e-05/0.203, allocations: 32.58 kB / 0.9078 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004957/0.2035, allocations: 447.1 kB / 0.9082 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=86): time 2.866e-06/0.2035, allocations: 0 / 0.9082 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86): time 0.001363/0.2049, allocations: 0.5693 MB / 0.9088 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.2049, allocations: 68.41 kB / 0.9088 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006777/0.2056, allocations: 0.6381 MB / 0.9095 GB, free: 9.602 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.509e-05/0.2056, allocations: 49.7 kB / 0.9095 GB, free: 9.547 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.2059, allocations: 410.9 kB / 0.9099 GB, free: 9.141 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.2061, allocations: 289.5 kB / 0.9102 GB, free: 8.855 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.2063, allocations: 162.5 kB / 0.9103 GB, free: 8.688 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2065, allocations: 345.9 kB / 0.9107 GB, free: 8.344 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.2066, allocations: 100.7 kB / 0.9108 GB, free: 8.246 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.2069, allocations: 307.6 kB / 0.9111 GB, free: 7.898 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/0.2074, allocations: 321.2 kB / 0.9114 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.2074, allocations: 0 / 0.9114 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0008163/0.2082, allocations: 471 kB / 0.9118 GB, free: 7.098 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2082, allocations: 4.938 kB / 0.9118 GB, free: 7.094 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.2082, allocations: 0 / 0.9118 GB, free: 7.094 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00042/0.2086, allocations: 128.7 kB / 0.9119 GB, free: 6.965 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004134/0.209, allocations: 199.7 kB / 0.9121 GB, free: 6.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.2102, allocations: 1.32 MB / 0.9134 GB, free: 5.359 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.2105, allocations: 82.45 kB / 0.9135 GB, free: 5.281 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.2105, allocations: 23.98 kB / 0.9135 GB, free: 5.258 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (105): * Single equations (assignments): 104 * 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.0002725/0.2108, allocations: 175.1 kB / 0.9137 GB, free: 5.074 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.009e-05/0.2109, allocations: 83.95 kB / 0.9138 GB, free: 4.992 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.212, allocations: 0.6243 MB / 0.9144 GB, free: 4.355 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.212, allocations: 12 kB / 0.9144 GB, free: 4.344 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.212, allocations: 0 / 0.9144 GB, free: 4.344 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.212, allocations: 11.97 kB / 0.9144 GB, free: 4.332 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.2134, allocations: 1.159 MB / 0.9155 GB, free: 3.133 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2134, allocations: 0 / 0.9155 GB, free: 3.133 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003143/0.2137, allocations: 163.8 kB / 0.9157 GB, free: 2.973 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.2139, allocations: 159.1 kB / 0.9158 GB, free: 2.816 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003056/0.2142, allocations: 108.8 kB / 0.9159 GB, free: 2.707 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.2142, allocations: 15.98 kB / 0.916 GB, free: 2.691 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008737/0.2151, allocations: 1.328 MB / 0.9173 GB, free: 1.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2151, allocations: 0 / 0.9173 GB, free: 1.27 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005852/0.2157, allocations: 0.5751 MB / 0.9178 GB, free: 0.6758 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.796e-05/0.2158, allocations: 24 kB / 0.9178 GB, free: 0.6523 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.216, allocations: 41.3 kB / 0.9179 GB, free: 0.6133 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.638e-05/0.2161, allocations: 68.86 kB / 0.9179 GB, free: 0.5469 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.2161, allocations: 23.98 kB / 0.918 GB, free: 0.5234 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002448/0.2163, allocations: 323.2 kB / 0.9183 GB, free: 212 kB / 0.8855 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2163, allocations: 0 / 0.9183 GB, free: 212 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000756/0.2171, allocations: 367 kB / 0.9186 GB, free: 15.84 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001652/0.2187, allocations: 0.8124 MB / 0.9194 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006597/0.2194, allocations: 0.5059 MB / 0.9199 GB, free: 14.83 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.208e-05/0.2194, allocations: 15.94 kB / 0.9199 GB, free: 14.82 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003392/0.2198, allocations: 371.1 kB / 0.9203 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009293/0.2207, allocations: 0.5455 MB / 0.9208 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005688/0.2264, allocations: 1.807 MB / 0.9226 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.2265, allocations: 223.3 kB / 0.9228 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005735/0.2271, allocations: 211.8 kB / 0.923 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005831/0.2277, allocations: 343 kB / 0.9233 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of SimCode: time 1.683e-06/0.2277, allocations: 0 / 0.9233 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of Templates: time 0.02541/0.2531, allocations: 19.77 MB / 0.9426 GB, free: 7.871 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.717141188681126]