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.0009144/0.0009144, allocations: 80.81 kB / 21.54 MB, free: 2.949 MB / 18.57 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.0008969/0.0008969, allocations: 165.2 kB / 24.96 MB, free: 9.172 MB / 18.57 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.8914/0.8914, allocations: 177.1 MB / 205.4 MB, free: 5.473 MB / 186.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.939/1.939, allocations: 389.6 MB / 0.6362 GB, free: 12.29 MB / 0.6042 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.452e-06/1.452e-06, allocations: 0 / 0.7759 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.074e-05, allocations: 5.688 kB / 0.7759 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005087/0.005107, allocations: 5.349 MB / 0.7812 GB, free: 64 kB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1262/0.1313, allocations: 146.3 MB / 0.9241 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008726/0.1322, allocations: 35.69 kB / 0.9241 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006436/0.1328, allocations: 349.3 kB / 0.9244 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.134, allocations: 0.5859 MB / 0.925 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.1354, allocations: 0.8919 MB / 0.9259 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001203/0.1366, allocations: 1.64 MB / 0.9275 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005725/0.1372, allocations: 0.5075 MB / 0.928 GB, free: 9.27 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007724/0.1379, allocations: 0.8692 MB / 0.9288 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003683/0.1383, allocations: 419.2 kB / 0.9292 GB, free: 7.988 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.1384, allocations: 128 kB / 0.9293 GB, free: 7.863 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006245/0.139, allocations: 0.5266 MB / 0.9299 GB, free: 7.336 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.1392, allocations: 338.8 kB / 0.9302 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002647/0.1395, allocations: 426.8 kB / 0.9306 GB, free: 6.586 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.1406, allocations: 1.397 MB / 0.932 GB, free: 5.184 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1406, allocations: 0 / 0.932 GB, free: 5.184 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1406, allocations: 0 / 0.932 GB, free: 5.184 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.1406, allocations: 0 / 0.932 GB, free: 5.184 MB / 0.8855 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.001402/0.142, allocations: 1.642 MB / 0.9336 GB, free: 3.508 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.1421, allocations: 9.344 kB / 0.9336 GB, free: 3.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007748/0.1428, allocations: 320.2 kB / 0.9339 GB, free: 3.188 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007614/0.1436, allocations: 0.7225 MB / 0.9346 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.483e-05/0.1437, allocations: 78.16 kB / 0.9347 GB, free: 2.344 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.301e-05/0.1437, allocations: 104 kB / 0.9348 GB, free: 2.242 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006991/0.1444, allocations: 0.9503 MB / 0.9357 GB, free: 1.18 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.1444, allocations: 3.938 kB / 0.9357 GB, free: 1.176 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/0.1445, allocations: 47.98 kB / 0.9357 GB, free: 1.129 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.1445, allocations: 28 kB / 0.9358 GB, free: 1.102 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005689/0.1451, allocations: 0.5947 MB / 0.9363 GB, free: 0.5078 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.147, allocations: 1.8 MB / 0.9381 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004499/0.1475, allocations: 403.4 kB / 0.9385 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.1476, allocations: 129.1 kB / 0.9386 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.366e-05/0.1476, allocations: 36.61 kB / 0.9386 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003662/0.148, allocations: 455.1 kB / 0.9391 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=86): time 1.904e-06/0.148, allocations: 0 / 0.9391 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of matching and sorting (n=86): time 0.0009494/0.149, allocations: 0.5615 MB / 0.9396 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.149, allocations: 200.9 kB / 0.9398 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004001/0.1494, allocations: 0.6303 MB / 0.9404 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.618e-05/0.1495, allocations: 53.69 kB / 0.9405 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.1497, allocations: 414.9 kB / 0.9409 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.1498, allocations: 289.5 kB / 0.9412 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.15, allocations: 170.5 kB / 0.9413 GB, free: 11.24 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.15, allocations: 341.9 kB / 0.9416 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.1502, allocations: 92.72 kB / 0.9417 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.1504, allocations: 315.6 kB / 0.942 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.1507, allocations: 325.2 kB / 0.9423 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1507, allocations: 4 kB / 0.9423 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0005887/0.1513, allocations: 459 kB / 0.9428 GB, free: 9.656 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1513, allocations: 11.98 kB / 0.9428 GB, free: 9.645 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1513, allocations: 12.03 kB / 0.9428 GB, free: 9.633 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003873/0.1517, allocations: 124.7 kB / 0.9429 GB, free: 9.508 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.152, allocations: 175.8 kB / 0.9431 GB, free: 9.336 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009798/0.153, allocations: 1.311 MB / 0.9444 GB, free: 7.938 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.1532, allocations: 83.47 kB / 0.9444 GB, free: 7.855 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.1533, allocations: 23.98 kB / 0.9445 GB, free: 7.832 MB / 0.9011 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.0001909/0.1535, allocations: 175.1 kB / 0.9446 GB, free: 7.648 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.37e-05/0.1536, allocations: 83.92 kB / 0.9447 GB, free: 7.566 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000764/0.1543, allocations: 0.6164 MB / 0.9453 GB, free: 6.938 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.1543, allocations: 12 kB / 0.9453 GB, free: 6.926 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.1543, allocations: 0 / 0.9453 GB, free: 6.926 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.1543, allocations: 7.969 kB / 0.9453 GB, free: 6.918 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.1556, allocations: 1.156 MB / 0.9465 GB, free: 5.723 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.1556, allocations: 4 kB / 0.9465 GB, free: 5.719 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.1559, allocations: 151.8 kB / 0.9466 GB, free: 5.57 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003152/0.1562, allocations: 112.7 kB / 0.9467 GB, free: 5.457 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.1562, allocations: 19.98 kB / 0.9467 GB, free: 5.438 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009022/0.1571, allocations: 1.332 MB / 0.948 GB, free: 4.016 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1571, allocations: 0 / 0.948 GB, free: 4.016 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006241/0.1578, allocations: 0.5712 MB / 0.9486 GB, free: 3.426 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.158, allocations: 167 kB / 0.9488 GB, free: 3.262 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.429e-05/0.158, allocations: 23.98 kB / 0.9488 GB, free: 3.238 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.1582, allocations: 35.97 kB / 0.9488 GB, free: 3.203 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.1583, allocations: 64.88 kB / 0.9489 GB, free: 3.137 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/0.1584, allocations: 27.91 kB / 0.9489 GB, free: 3.109 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002484/0.1586, allocations: 319.3 kB / 0.9492 GB, free: 2.801 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1586, allocations: 0 / 0.9492 GB, free: 2.801 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00053/0.1592, allocations: 366.9 kB / 0.9496 GB, free: 2.441 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.001493/0.1607, allocations: 0.7555 MB / 0.9503 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005561/0.1612, allocations: 0.5097 MB / 0.9508 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.1612, allocations: 12 kB / 0.9508 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.1615, allocations: 363 kB / 0.9512 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007799/0.1623, allocations: 489.2 kB / 0.9516 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.1643, allocations: 1.748 MB / 0.9533 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.1645, allocations: 223.3 kB / 0.9535 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003902/0.1649, allocations: 211.7 kB / 0.9537 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005595/0.1654, allocations: 343 kB / 0.9541 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of SimCode: time 1.092e-06/0.1654, allocations: 0 / 0.9541 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of Templates: time 0.02204/0.1874, allocations: 19.51 MB / 0.9731 GB, free: 10.85 MB / 0.9323 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.617821985855699]