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: "" <> buildModelFMU(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8115/0.8115, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 187.1 kB / 187.3 MB, free: 11.88 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.619/1.619, allocations: 221.3 MB / 441.4 MB, free: 4.582 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.0008687/0.0008693, allocations: 95.78 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002111/0.002111, allocations: 276 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.232e-05/4.254e-05, allocations: 4 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.544/0.5441, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.335/4.879, allocations: 1.692 GB / 2.457 GB, free: 86.09 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/4.88, allocations: 94.84 kB / 2.457 GB, free: 86 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1321/5.012, allocations: 64.05 MB / 2.519 GB, free: 21.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.053e-06/5.012, allocations: 0 / 2.519 GB, free: 21.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.689e-05/5.012, allocations: 35.94 kB / 2.519 GB, free: 21.65 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.001794/5.014, allocations: 1.236 MB / 2.52 GB, free: 20.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/5.014, allocations: 12.03 kB / 2.52 GB, free: 20.36 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001363/5.014, allocations: 143.9 kB / 2.521 GB, free: 20.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008611/5.015, allocations: 222.1 kB / 2.521 GB, free: 19.99 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/5.016, allocations: 0.7679 MB / 2.522 GB, free: 19.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/5.016, allocations: 74 kB / 2.522 GB, free: 19.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-05/5.016, allocations: 91.98 kB / 2.522 GB, free: 19.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/5.017, allocations: 0.9302 MB / 2.523 GB, free: 18.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/5.017, allocations: 4 kB / 2.523 GB, free: 18.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.291e-05/5.018, allocations: 36 kB / 2.523 GB, free: 18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/5.018, allocations: 27.94 kB / 2.523 GB, free: 17.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/5.019, allocations: 1.073 MB / 2.524 GB, free: 16.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003474/5.022, allocations: 2.734 MB / 2.526 GB, free: 14.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008487/5.023, allocations: 0.6717 MB / 2.527 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/5.024, allocations: 254.5 kB / 2.527 GB, free: 13.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.299e-05/5.024, allocations: 36.52 kB / 2.527 GB, free: 13.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005145/5.024, allocations: 389.9 kB / 2.528 GB, free: 12.72 MB / 0.698 GB Notification: Performance of pre-optimization done (n=69): time 2.745e-06/5.024, allocations: 0 / 2.528 GB, free: 12.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=69): time 0.00143/5.026, allocations: 0.6909 MB / 2.528 GB, free: 12.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/5.026, allocations: 243.9 kB / 2.529 GB, free: 11.72 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000802/5.026, allocations: 0.7118 MB / 2.529 GB, free: 11.01 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.168e-05/5.027, allocations: 41.7 kB / 2.529 GB, free: 10.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/5.027, allocations: 496 kB / 2.53 GB, free: 10.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/5.027, allocations: 224.7 kB / 2.53 GB, free: 10.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/5.027, allocations: 16 kB / 2.53 GB, free: 10.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.418e-05/5.027, allocations: 326 kB / 2.53 GB, free: 9.906 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/5.027, allocations: 197.5 kB / 2.531 GB, free: 9.715 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/5.028, allocations: 297.1 kB / 2.531 GB, free: 9.395 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/5.028, allocations: 242 kB / 2.531 GB, free: 9.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/5.028, allocations: 0 / 2.531 GB, free: 9.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001262/5.029, allocations: 0.6873 MB / 2.532 GB, free: 8.457 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/5.029, allocations: 9.562 kB / 2.532 GB, free: 8.449 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/5.029, allocations: 0 / 2.532 GB, free: 8.449 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008775/5.03, allocations: 88.78 kB / 2.532 GB, free: 8.359 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005079/5.031, allocations: 143.7 kB / 2.532 GB, free: 8.219 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/5.032, allocations: 1.532 MB / 2.533 GB, free: 6.547 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006119/5.033, allocations: 87.42 kB / 2.534 GB, free: 6.461 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/5.033, allocations: 27.92 kB / 2.534 GB, free: 6.434 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.0001494/5.033, allocations: 136.9 kB / 2.534 GB, free: 6.293 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/5.033, allocations: 94.88 kB / 2.534 GB, free: 6.199 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/5.035, allocations: 0.9474 MB / 2.535 GB, free: 5.238 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/5.035, allocations: 8 kB / 2.535 GB, free: 5.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/5.035, allocations: 0 / 2.535 GB, free: 5.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/5.035, allocations: 3.984 kB / 2.535 GB, free: 5.227 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000977/5.036, allocations: 0.9579 MB / 2.536 GB, free: 4.215 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/5.036, allocations: 0 / 2.536 GB, free: 4.215 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000468/5.037, allocations: 143.8 kB / 2.536 GB, free: 4.074 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004553/5.037, allocations: 84.77 kB / 2.536 GB, free: 3.988 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/5.037, allocations: 19.98 kB / 2.536 GB, free: 3.969 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/5.039, allocations: 1.556 MB / 2.537 GB, free: 2.273 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/5.039, allocations: 8.047 kB / 2.537 GB, free: 2.266 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/5.04, allocations: 0.8003 MB / 2.538 GB, free: 1.441 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003971/5.04, allocations: 291.6 kB / 2.538 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.737e-05/5.041, allocations: 20 kB / 2.539 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000482/5.041, allocations: 63.95 kB / 2.539 GB, free: 1.055 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/5.041, allocations: 56.69 kB / 2.539 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.205e-05/5.041, allocations: 31.98 kB / 2.539 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006747/5.042, allocations: 0.5655 MB / 2.539 GB, free: 420 kB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/5.042, allocations: 0 / 2.539 GB, free: 420 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.001058/5.043, allocations: 390.9 kB / 2.54 GB, free: 28 kB / 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.4822/5.525, allocations: 2.261 MB / 2.542 GB, free: 227 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001622/5.527, allocations: 0.6704 MB / 2.542 GB, free: 226.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/5.527, allocations: 0.6875 kB / 2.542 GB, free: 226.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008655/5.528, allocations: 455.5 kB / 2.543 GB, free: 226.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/5.53, allocations: 387.6 kB / 2.543 GB, free: 226.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00563/5.535, allocations: 1.755 MB / 2.545 GB, free: 226.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/5.536, allocations: 1.098 MB / 2.546 GB, free: 225.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001282/5.538, allocations: 282.6 kB / 2.546 GB, free: 225.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006904/5.538, allocations: 434.7 kB / 2.547 GB, free: 225.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.303e-06/5.538, allocations: 2.031 kB / 2.547 GB, free: 225.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06604/5.604, allocations: 34.6 MB / 2.581 GB, free: 223.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/5.605, allocations: 246 kB / 2.581 GB, free: 223.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.452/9.057, allocations: 4 kB / 2.581 GB, free: 223.1 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)