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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7158/0.7158, allocations: 140.1 MB / 156 MB, free: 5.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 181.4 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.4 MB / 426.3 MB, free: 8.484 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008101/0.0008101, allocations: 90.28 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001693/0.001693, allocations: 269.9 kB / 0.5728 GB, free: 66.24 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004937, allocations: 16 kB / 0.662 GB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3414, allocations: 79.31 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.75/4.092, allocations: 2.043 GB / 2.782 GB, free: 166.2 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/4.092, allocations: 91.95 kB / 2.783 GB, free: 166.2 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1292/4.221, allocations: 63.76 MB / 2.845 GB, free: 102 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.947e-06/4.221, allocations: 3.984 kB / 2.845 GB, free: 102 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001361/4.222, allocations: 31.94 kB / 2.845 GB, free: 102 MB / 0.6667 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.002509/4.224, allocations: 1.339 MB / 2.846 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/4.224, allocations: 8.031 kB / 2.846 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009476/4.225, allocations: 215.2 kB / 2.846 GB, free: 100.4 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/4.226, allocations: 0.8073 MB / 2.847 GB, free: 99.51 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.955e-05/4.226, allocations: 78.31 kB / 2.847 GB, free: 99.44 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/4.227, allocations: 88.38 kB / 2.847 GB, free: 99.35 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/4.228, allocations: 0.9579 MB / 2.848 GB, free: 98.35 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/4.228, allocations: 4.188 kB / 2.848 GB, free: 98.35 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-05/4.228, allocations: 43.94 kB / 2.848 GB, free: 98.3 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/4.228, allocations: 20 kB / 2.848 GB, free: 98.29 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/4.23, allocations: 1.124 MB / 2.849 GB, free: 97.16 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003699/4.234, allocations: 2.702 MB / 2.852 GB, free: 94.39 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/4.235, allocations: 0.7138 MB / 2.853 GB, free: 93.67 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003882/4.235, allocations: 274.4 kB / 2.853 GB, free: 93.4 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.325e-05/4.235, allocations: 28.58 kB / 2.853 GB, free: 93.37 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005776/4.236, allocations: 425.7 kB / 2.853 GB, free: 92.93 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=69): time 3.046e-06/4.236, allocations: 0 / 2.853 GB, free: 92.93 MB / 0.6667 GB Notification: Performance of matching and sorting (n=69): time 0.002416/4.238, allocations: 1.081 MB / 2.854 GB, free: 91.82 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/4.238, allocations: 251.9 kB / 2.855 GB, free: 91.52 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008295/4.239, allocations: 0.7982 MB / 2.856 GB, free: 90.71 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/4.239, allocations: 37.7 kB / 2.856 GB, free: 90.67 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/4.239, allocations: 488 kB / 2.856 GB, free: 90.19 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/4.239, allocations: 228.6 kB / 2.856 GB, free: 89.96 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/4.239, allocations: 12 kB / 2.856 GB, free: 89.95 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 4.979e-05/4.24, allocations: 333.9 kB / 2.857 GB, free: 89.62 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/4.24, allocations: 217.2 kB / 2.857 GB, free: 89.41 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004121/4.24, allocations: 319.7 kB / 2.857 GB, free: 89.06 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007654/4.241, allocations: 0.5148 MB / 2.858 GB, free: 88.54 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/4.241, allocations: 4 kB / 2.858 GB, free: 88.53 MB / 0.6667 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001424/4.243, allocations: 0.7235 MB / 2.858 GB, free: 87.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/4.243, allocations: 5.406 kB / 2.858 GB, free: 87.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/4.243, allocations: 0 / 2.858 GB, free: 87.79 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005281/4.243, allocations: 100.7 kB / 2.858 GB, free: 87.69 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/4.244, allocations: 123.9 kB / 2.859 GB, free: 87.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/4.245, allocations: 1.543 MB / 2.86 GB, free: 85.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005163/4.246, allocations: 75.44 kB / 2.86 GB, free: 85.81 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/4.246, allocations: 27.97 kB / 2.86 GB, free: 85.79 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004291/4.246, allocations: 279 kB / 2.86 GB, free: 85.5 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/4.246, allocations: 102.8 kB / 2.86 GB, free: 85.4 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/4.248, allocations: 0.9801 MB / 2.861 GB, free: 84.41 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/4.248, allocations: 8 kB / 2.861 GB, free: 84.4 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.676e-06/4.248, allocations: 0 / 2.861 GB, free: 84.4 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/4.248, allocations: 3.984 kB / 2.861 GB, free: 84.39 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008803/4.249, allocations: 0.9504 MB / 2.862 GB, free: 83.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/4.249, allocations: 7.875 kB / 2.862 GB, free: 83.38 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004731/4.25, allocations: 135.9 kB / 2.863 GB, free: 83.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004389/4.25, allocations: 88.7 kB / 2.863 GB, free: 83.16 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/4.25, allocations: 23.98 kB / 2.863 GB, free: 83.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/4.251, allocations: 1.559 MB / 2.864 GB, free: 81.44 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/4.251, allocations: 144 / 2.864 GB, free: 81.44 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/4.253, allocations: 0.8607 MB / 2.865 GB, free: 80.56 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003225/4.253, allocations: 287.5 kB / 2.865 GB, free: 80.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/4.253, allocations: 20 kB / 2.865 GB, free: 80.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004596/4.254, allocations: 67.94 kB / 2.865 GB, free: 80.17 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/4.254, allocations: 56.92 kB / 2.865 GB, free: 80.12 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.506e-05/4.254, allocations: 27.98 kB / 2.865 GB, free: 80.09 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006011/4.255, allocations: 0.5693 MB / 2.866 GB, free: 79.53 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.31e-07/4.255, allocations: 0 / 2.866 GB, free: 79.53 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009684/4.256, allocations: 351 kB / 2.866 GB, free: 79.18 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001671/4.257, allocations: 1.013 MB / 2.867 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001232/4.258, allocations: 0.7083 MB / 2.868 GB, free: 77.56 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/4.258, allocations: 4 kB / 2.868 GB, free: 77.56 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006755/4.259, allocations: 496.2 kB / 2.868 GB, free: 77.06 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/4.26, allocations: 386.1 kB / 2.869 GB, free: 76.68 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/4.264, allocations: 2.383 MB / 2.871 GB, free: 74.27 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005049/4.265, allocations: 1.07 MB / 2.872 GB, free: 73.17 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008393/4.265, allocations: 274.9 kB / 2.872 GB, free: 72.9 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/4.266, allocations: 103.4 kB / 2.873 GB, free: 72.8 MB / 0.6667 GB Notification: Performance of SimCode: time 4.71e-07/4.266, allocations: 0 / 2.873 GB, free: 72.8 MB / 0.6667 GB Notification: Performance of Templates: time 0.02913/4.295, allocations: 22.14 MB / 2.894 GB, free: 50.73 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (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)