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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 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.7925/0.7925, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009714/0.0009713, allocations: 184.8 kB / 182.2 MB, free: 9.449 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 221.5 MB / 436.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008906/0.0008906, allocations: 80.17 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001846/0.001846, allocations: 269.9 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.432e-05/1.437e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3809, allocations: 82.77 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.621/4.002, allocations: 1.692 GB / 2.449 GB, free: 94.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/4.002, allocations: 91.83 kB / 2.449 GB, free: 94.51 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1873/4.19, allocations: 63.17 MB / 2.511 GB, free: 31.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.933e-06/4.19, allocations: 0 / 2.511 GB, free: 31.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001072/4.19, allocations: 31.94 kB / 2.511 GB, free: 31.02 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.001947/4.192, allocations: 1.227 MB / 2.512 GB, free: 29.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/4.192, allocations: 8.031 kB / 2.512 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009746/4.193, allocations: 222.1 kB / 2.512 GB, free: 29.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/4.194, allocations: 0.7756 MB / 2.513 GB, free: 28.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/4.194, allocations: 32 kB / 2.513 GB, free: 28.67 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-05/4.194, allocations: 56 kB / 2.513 GB, free: 28.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001354/4.195, allocations: 1.023 MB / 2.514 GB, free: 27.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/4.197, allocations: 0.8013 MB / 2.515 GB, free: 26.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/4.197, allocations: 0 / 2.515 GB, free: 26.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.569e-05/4.197, allocations: 0 / 2.515 GB, free: 26.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/4.197, allocations: 24 kB / 2.515 GB, free: 26.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003535/4.2, allocations: 2.543 MB / 2.517 GB, free: 24.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000807/4.201, allocations: 0.6341 MB / 2.518 GB, free: 23.47 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/4.201, allocations: 234.4 kB / 2.518 GB, free: 23.24 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.983e-05/4.201, allocations: 32.59 kB / 2.518 GB, free: 23.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005366/4.202, allocations: 376.8 kB / 2.519 GB, free: 22.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=69): time 2.505e-06/4.202, allocations: 7.938 kB / 2.519 GB, free: 22.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=69): time 0.001458/4.204, allocations: 0.6441 MB / 2.519 GB, free: 22.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/4.204, allocations: 243.9 kB / 2.519 GB, free: 21.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006793/4.204, allocations: 0.6097 MB / 2.52 GB, free: 21.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.211e-05/4.204, allocations: 25.7 kB / 2.52 GB, free: 21.22 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/4.205, allocations: 499.7 kB / 2.52 GB, free: 20.72 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/4.205, allocations: 216.7 kB / 2.521 GB, free: 20.51 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/4.205, allocations: 0 / 2.521 GB, free: 20.51 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.285e-05/4.205, allocations: 337.9 kB / 2.521 GB, free: 20.17 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/4.205, allocations: 177.5 kB / 2.521 GB, free: 20 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/4.205, allocations: 283.5 kB / 2.521 GB, free: 19.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/4.206, allocations: 236.4 kB / 2.522 GB, free: 19.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/4.206, allocations: 0 / 2.522 GB, free: 19.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001269/4.207, allocations: 0.6406 MB / 2.522 GB, free: 18.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/4.207, allocations: 7.984 kB / 2.522 GB, free: 18.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/4.207, allocations: 4 kB / 2.522 GB, free: 18.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006216/4.208, allocations: 80.84 kB / 2.522 GB, free: 18.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000527/4.208, allocations: 131.8 kB / 2.523 GB, free: 18.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/4.21, allocations: 1.465 MB / 2.524 GB, free: 17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005425/4.21, allocations: 63.55 kB / 2.524 GB, free: 16.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.559e-05/4.21, allocations: 31.98 kB / 2.524 GB, free: 16.9 MB / 0.698 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 () * 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.0001355/4.21, allocations: 112.9 kB / 2.524 GB, free: 16.79 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/4.211, allocations: 91.14 kB / 2.524 GB, free: 16.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/4.212, allocations: 0.8887 MB / 2.525 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/4.212, allocations: 8 kB / 2.525 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/4.212, allocations: 0 / 2.525 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/4.212, allocations: 11.92 kB / 2.525 GB, free: 15.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008649/4.213, allocations: 0.8181 MB / 2.526 GB, free: 14.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/4.213, allocations: 0 / 2.526 GB, free: 14.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005081/4.214, allocations: 139.8 kB / 2.526 GB, free: 14.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004862/4.214, allocations: 80.78 kB / 2.526 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-05/4.214, allocations: 15.98 kB / 2.526 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/4.216, allocations: 1.504 MB / 2.528 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/4.216, allocations: 64 / 2.528 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/4.217, allocations: 0.7542 MB / 2.528 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003199/4.217, allocations: 295.6 kB / 2.529 GB, free: 11.97 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/4.217, allocations: 0 / 2.529 GB, free: 11.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005248/4.218, allocations: 59.88 kB / 2.529 GB, free: 11.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.436e-05/4.218, allocations: 52.7 kB / 2.529 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.358e-05/4.218, allocations: 27.98 kB / 2.529 GB, free: 11.83 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005432/4.219, allocations: 499.1 kB / 2.529 GB, free: 11.35 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/4.219, allocations: 0 / 2.529 GB, free: 11.35 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009738/4.22, allocations: 346.9 kB / 2.53 GB, free: 11.01 MB / 0.698 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) * 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.001627/4.221, allocations: 1.074 MB / 2.531 GB, free: 10.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000962/4.222, allocations: 0.6282 MB / 2.531 GB, free: 9.371 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/4.222, allocations: 4 kB / 2.531 GB, free: 9.367 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005667/4.223, allocations: 428.6 kB / 2.532 GB, free: 8.938 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/4.224, allocations: 367.4 kB / 2.532 GB, free: 8.582 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/4.227, allocations: 1.471 MB / 2.533 GB, free: 7.082 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/4.228, allocations: 1.101 MB / 2.535 GB, free: 5.953 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008178/4.229, allocations: 270.5 kB / 2.535 GB, free: 5.684 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/4.229, allocations: 103.4 kB / 2.535 GB, free: 5.582 MB / 0.698 GB Notification: Performance of SimCode: time 3.71e-07/4.229, allocations: 0 / 2.535 GB, free: 5.582 MB / 0.698 GB Notification: Performance of Templates: time 0.3466/4.576, allocations: 17.27 MB / 2.552 GB, free: 228.3 MB / 0.698 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)