Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 108.9 kB / 16.37 MB, free: 6.262 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.001225/0.001225, allocations: 189.7 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.652/1.652, allocations: 292.3 MB / 0.5496 GB, free: 17.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.91 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2295, allocations: 114.5 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.3509/0.5805, allocations: 4.881 MB / 0.7895 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1521/0.7326, allocations: 150.5 MB / 0.9365 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.7339, allocations: 24.91 kB / 0.9365 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007706/0.7347, allocations: 329.6 kB / 0.9368 GB, free: 14.25 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001495/0.7362, allocations: 431.4 kB / 0.9373 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.7381, allocations: 0.8004 MB / 0.938 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001292/0.7394, allocations: 1.34 MB / 0.9393 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009229/0.7404, allocations: 0.7328 MB / 0.9401 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005153/0.7409, allocations: 482.1 kB / 0.9405 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005038/0.7414, allocations: 0.5014 MB / 0.941 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.7416, allocations: 120 kB / 0.9411 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006442/0.7422, allocations: 403.7 kB / 0.9415 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002545/0.7425, allocations: 304.7 kB / 0.9418 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004202/0.7429, allocations: 0.5865 MB / 0.9424 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.7444, allocations: 1.686 MB / 0.944 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.7444, allocations: 0 / 0.944 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7444, allocations: 0 / 0.944 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.7444, allocations: 0 / 0.944 GB, free: 6.883 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.001995/0.7464, allocations: 1.538 MB / 0.9455 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.7464, allocations: 15.97 kB / 0.9455 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008426/0.7473, allocations: 211.1 kB / 0.9457 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.7484, allocations: 0.8634 MB / 0.9466 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.199e-05/0.7485, allocations: 70 kB / 0.9466 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.651e-05/0.7486, allocations: 88 kB / 0.9467 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.75, allocations: 0.9651 MB / 0.9477 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.75, allocations: 0 / 0.9477 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.489e-05/0.7501, allocations: 40 kB / 0.9477 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.7501, allocations: 27.98 kB / 0.9477 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.7517, allocations: 1.116 MB / 0.9488 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00351/0.7553, allocations: 2.616 MB / 0.9514 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.7564, allocations: 0.6994 MB / 0.9521 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004393/0.7569, allocations: 264.5 kB / 0.9523 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 7.38e-05/0.757, allocations: 40.58 kB / 0.9524 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006951/0.7577, allocations: 419.1 kB / 0.9528 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=69): time 2.214e-06/0.7577, allocations: 0 / 0.9528 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=69): time 0.002655/0.7603, allocations: 1.074 MB / 0.9538 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.29e-05/0.7604, allocations: 188.5 kB / 0.954 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000815/0.7613, allocations: 0.7434 MB / 0.9547 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.649e-05/0.7613, allocations: 37.7 kB / 0.9547 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/0.7617, allocations: 493.2 kB / 0.9552 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.7619, allocations: 232.7 kB / 0.9554 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.7621, allocations: 142.2 kB / 0.9556 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.7623, allocations: 330 kB / 0.9559 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004425/0.7627, allocations: 241.1 kB / 0.9561 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005238/0.7632, allocations: 319.3 kB / 0.9564 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009306/0.7642, allocations: 0.539 MB / 0.957 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.7642, allocations: 0 / 0.957 GB, free: 9.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001665/0.7659, allocations: 0.7819 MB / 0.9577 GB, free: 8.477 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.7659, allocations: 4 kB / 0.9577 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.7659, allocations: 0 / 0.9577 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005663/0.7665, allocations: 88.77 kB / 0.9578 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/0.767, allocations: 143.8 kB / 0.9579 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/0.769, allocations: 1.643 MB / 0.9595 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005619/0.7696, allocations: 84.48 kB / 0.9596 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.76e-05/0.7697, allocations: 35.97 kB / 0.9597 GB, free: 6.336 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0003631/0.77, allocations: 265.7 kB / 0.9599 GB, free: 6.066 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.7702, allocations: 94.88 kB / 0.96 GB, free: 5.973 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/0.7721, allocations: 0.9153 MB / 0.9609 GB, free: 5.051 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.7721, allocations: 7.984 kB / 0.9609 GB, free: 5.043 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.7721, allocations: 0 / 0.9609 GB, free: 5.043 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/0.7724, allocations: 267.7 kB / 0.9612 GB, free: 4.762 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.7725, allocations: 16 kB / 0.9612 GB, free: 4.746 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004889/0.773, allocations: 52.72 kB / 0.9612 GB, free: 4.695 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.7731, allocations: 60.86 kB / 0.9613 GB, free: 4.637 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001672/0.7748, allocations: 0.8557 MB / 0.9621 GB, free: 3.77 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001807/0.7766, allocations: 1.277 MB / 0.9634 GB, free: 2.477 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000477/0.7771, allocations: 311.9 kB / 0.9637 GB, free: 2.172 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005841/0.7777, allocations: 0.5146 MB / 0.9642 GB, free: 1.664 MB / 0.7481 GB Notification: Performance of Backend: time 4.31e-07/0.7777, allocations: 0 / 0.9642 GB, free: 1.664 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002689/0.7804, allocations: 1.119 MB / 0.9653 GB, free: 0.8047 MB / 0.7481 GB Notification: Performance of SimCode: time 0.003413/0.7839, allocations: 2.362 MB / 0.9676 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of Templates: time 0.02668/0.8105, allocations: 16.59 MB / 0.9838 GB, free: 14.07 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)