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.8149/0.8149, allocations: 143.4 MB / 158.3 MB, free: 5.797 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.001109/0.001108, allocations: 187.4 kB / 191.5 MB, free: 5.762 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.703/1.703, allocations: 223.1 MB / 447.7 MB, free: 4.828 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.0008797/0.0008797, allocations: 83.83 kB / 0.5187 GB, free: 1.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002235/0.002235, allocations: 280.8 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.0004559, allocations: 17.06 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2102, allocations: 82.79 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.618/3.828, allocations: 1.692 GB / 2.466 GB, free: 107.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/3.828, allocations: 98.75 kB / 2.466 GB, free: 107.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1329/3.961, allocations: 64.35 MB / 2.529 GB, free: 43.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.385e-06/3.961, allocations: 0 / 2.529 GB, free: 43.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.35e-05/3.961, allocations: 39.88 kB / 2.529 GB, free: 43.05 MB / 0.7136 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.002187/3.964, allocations: 1.386 MB / 2.53 GB, free: 41.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/3.964, allocations: 8.031 kB / 2.53 GB, free: 41.61 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001435/3.964, allocations: 147.9 kB / 2.531 GB, free: 41.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008292/3.965, allocations: 218.2 kB / 2.531 GB, free: 41.24 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/3.966, allocations: 0.7755 MB / 2.531 GB, free: 40.42 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.803e-05/3.966, allocations: 74 kB / 2.532 GB, free: 40.35 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/3.966, allocations: 92 kB / 2.532 GB, free: 40.26 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/3.967, allocations: 0.9652 MB / 2.533 GB, free: 39.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/3.967, allocations: 0 / 2.533 GB, free: 39.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.601e-05/3.968, allocations: 40 kB / 2.533 GB, free: 39.21 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/3.968, allocations: 20 kB / 2.533 GB, free: 39.19 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/3.969, allocations: 1.132 MB / 2.534 GB, free: 38.06 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003424/3.972, allocations: 2.726 MB / 2.536 GB, free: 35.26 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/3.974, allocations: 0.7141 MB / 2.537 GB, free: 34.53 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.668e-05/3.974, allocations: 28.59 kB / 2.537 GB, free: 34.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006562/3.974, allocations: 429.6 kB / 2.538 GB, free: 34.06 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=69): time 2.535e-06/3.974, allocations: 0 / 2.538 GB, free: 34.06 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69): time 0.002547/3.977, allocations: 1.087 MB / 2.539 GB, free: 32.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/3.977, allocations: 251.8 kB / 2.539 GB, free: 32.65 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008153/3.978, allocations: 0.7195 MB / 2.54 GB, free: 31.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.805e-05/3.978, allocations: 41.7 kB / 2.54 GB, free: 31.88 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/3.978, allocations: 491.9 kB / 2.54 GB, free: 31.39 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/3.978, allocations: 228.7 kB / 2.54 GB, free: 31.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/3.978, allocations: 8 kB / 2.54 GB, free: 31.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.669e-05/3.978, allocations: 333.9 kB / 2.541 GB, free: 30.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/3.979, allocations: 217.2 kB / 2.541 GB, free: 30.61 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/3.979, allocations: 319.6 kB / 2.541 GB, free: 30.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/3.98, allocations: 263.1 kB / 2.541 GB, free: 30.02 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/3.98, allocations: 0 / 2.541 GB, free: 30.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001482/3.981, allocations: 0.7234 MB / 2.542 GB, free: 29.28 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/3.981, allocations: 4 kB / 2.542 GB, free: 29.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/3.981, allocations: 12 kB / 2.542 GB, free: 29.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00062/3.982, allocations: 80.77 kB / 2.542 GB, free: 29.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/3.982, allocations: 135.8 kB / 2.542 GB, free: 29.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/3.984, allocations: 1.548 MB / 2.544 GB, free: 27.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005644/3.985, allocations: 79.47 kB / 2.544 GB, free: 27.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/3.985, allocations: 27.98 kB / 2.544 GB, free: 27.26 MB / 0.7136 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.0004599/3.985, allocations: 271.2 kB / 2.544 GB, free: 26.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/3.985, allocations: 106.7 kB / 2.544 GB, free: 26.88 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/3.987, allocations: 1.004 MB / 2.545 GB, free: 25.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/3.987, allocations: 8 kB / 2.545 GB, free: 25.85 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-06/3.987, allocations: 0 / 2.545 GB, free: 25.85 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/3.987, allocations: 3.984 kB / 2.545 GB, free: 25.85 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000883/3.988, allocations: 0.9543 MB / 2.546 GB, free: 24.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/3.988, allocations: 3.938 kB / 2.546 GB, free: 24.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004947/3.989, allocations: 135.9 kB / 2.546 GB, free: 24.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004951/3.989, allocations: 84.72 kB / 2.546 GB, free: 24.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/3.989, allocations: 19.98 kB / 2.546 GB, free: 24.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/3.991, allocations: 1.571 MB / 2.548 GB, free: 22.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/3.991, allocations: 0 / 2.548 GB, free: 22.89 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/3.992, allocations: 0.8567 MB / 2.549 GB, free: 22.01 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003889/3.993, allocations: 299.5 kB / 2.549 GB, free: 21.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/3.993, allocations: 20 kB / 2.549 GB, free: 21.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005075/3.993, allocations: 64.22 kB / 2.549 GB, free: 21.62 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/3.993, allocations: 60.98 kB / 2.549 GB, free: 21.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.828e-05/3.993, allocations: 27.98 kB / 2.549 GB, free: 21.53 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006415/3.994, allocations: 0.5849 MB / 2.55 GB, free: 20.95 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/3.994, allocations: 0 / 2.55 GB, free: 20.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001112/3.995, allocations: 375 kB / 2.55 GB, free: 20.59 MB / 0.7136 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.003424/3.999, allocations: 2.356 MB / 2.552 GB, free: 18.39 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001274/4, allocations: 0.7126 MB / 2.553 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/4, allocations: 8.125 kB / 2.553 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006874/4.001, allocations: 488.2 kB / 2.554 GB, free: 17.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/4.002, allocations: 384.7 kB / 2.554 GB, free: 16.79 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009037/4.011, allocations: 5.9 MB / 2.56 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/4.012, allocations: 1.094 MB / 2.561 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009377/4.013, allocations: 283 kB / 2.561 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004924/4.013, allocations: 447.2 kB / 2.562 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of SimCode: time 1.062e-06/4.013, allocations: 4 kB / 2.562 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4325/4.446, allocations: 32.96 MB / 2.594 GB, free: 223.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/4.446, allocations: 283.2 kB / 2.594 GB, free: 222.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.267/7.713, allocations: 0 / 2.594 GB, free: 222.8 MB / 0.7136 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)