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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007387/0.0007387, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007832/0.0007832, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8583/0.8583, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001412/0.001412, allocations: 233.5 kB / 259.4 MB, free: 13.04 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6737/0.6737, allocations: 138.4 MB / 454.3 MB, free: 30.01 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.6463 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.966e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.2293/0.2293, allocations: 5.07 MB / 0.6512 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.1099/0.3392, allocations: 133 MB / 0.7811 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.3403, allocations: 35.69 kB / 0.7811 GB, free: 0.9297 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007959/0.3411, allocations: 381.2 kB / 0.7815 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.3428, allocations: 0.5888 MB / 0.7821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.3444, allocations: 0.9162 MB / 0.783 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001455/0.3458, allocations: 1.614 MB / 0.7846 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006917/0.3465, allocations: 489.8 kB / 0.785 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009196/0.3475, allocations: 0.8224 MB / 0.7858 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000415/0.3479, allocations: 442.6 kB / 0.7862 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.348, allocations: 132 kB / 0.7864 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007654/0.3488, allocations: 0.5072 MB / 0.7869 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003383/0.3491, allocations: 342.8 kB / 0.7872 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003158/0.3494, allocations: 434.8 kB / 0.7876 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001799/0.3512, allocations: 2.052 MB / 0.7896 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3512, allocations: 0 / 0.7896 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3512, allocations: 0 / 0.7896 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.484e-05/0.3513, allocations: 0 / 0.7896 GB, free: 8.211 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001945/0.3532, allocations: 1.66 MB / 0.7912 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3532, allocations: 17.92 kB / 0.7913 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001188/0.3534, allocations: 157 kB / 0.7914 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007687/0.3541, allocations: 271.8 kB / 0.7917 GB, free: 6.082 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.3552, allocations: 0.8386 MB / 0.7925 GB, free: 5.211 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.755e-05/0.3552, allocations: 83.31 kB / 0.7926 GB, free: 5.129 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.312e-05/0.3553, allocations: 96 kB / 0.7927 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.3565, allocations: 1.283 MB / 0.7939 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3565, allocations: 0.6562 kB / 0.7939 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.616e-05/0.3565, allocations: 47.98 kB / 0.7939 GB, free: 3.605 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.3566, allocations: 24 kB / 0.794 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.3578, allocations: 1.12 MB / 0.7951 GB, free: 2.457 MB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002819/0.3607, allocations: 2.508 MB / 0.7975 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009182/0.3616, allocations: 0.74 MB / 0.7982 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.3619, allocations: 277.6 kB / 0.7985 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.679e-05/0.362, allocations: 36.47 kB / 0.7985 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005779/0.3625, allocations: 0.5871 MB / 0.7991 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 2.885e-06/0.3625, allocations: 0 / 0.7991 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.001777/0.3643, allocations: 1.137 MB / 0.8002 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.3644, allocations: 188.6 kB / 0.8004 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000854/0.3652, allocations: 0.8302 MB / 0.8012 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.078e-05/0.3653, allocations: 41.7 kB / 0.8013 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002783/0.3656, allocations: 0.5203 MB / 0.8018 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.3657, allocations: 261.8 kB / 0.802 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.3658, allocations: 146.6 kB / 0.8021 GB, free: 11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.098e-05/0.3659, allocations: 337.9 kB / 0.8025 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/0.3662, allocations: 249.9 kB / 0.8027 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003948/0.3666, allocations: 483.1 kB / 0.8032 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006441/0.3673, allocations: 0.576 MB / 0.8037 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3673, allocations: 0 / 0.8037 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001102/0.3684, allocations: 0.8217 MB / 0.8045 GB, free: 8.469 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3684, allocations: 8.094 kB / 0.8045 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3684, allocations: 7.984 kB / 0.8046 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002948/0.3687, allocations: 76.78 kB / 0.8046 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.369, allocations: 147.8 kB / 0.8048 GB, free: 8.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/0.3703, allocations: 1.533 MB / 0.8063 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.3707, allocations: 91.53 kB / 0.8063 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-05/0.3707, allocations: 31.98 kB / 0.8064 GB, free: 6.457 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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.000377/0.3711, allocations: 293.7 kB / 0.8067 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.3712, allocations: 111.2 kB / 0.8068 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.3725, allocations: 1.073 MB / 0.8078 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.3725, allocations: 11.94 kB / 0.8078 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3725, allocations: 3.312 kB / 0.8078 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.3725, allocations: 7.969 kB / 0.8078 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009234/0.3735, allocations: 0.8644 MB / 0.8087 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.3735, allocations: 0 / 0.8087 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.3737, allocations: 139.8 kB / 0.8088 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002186/0.374, allocations: 68.8 kB / 0.8089 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.041e-05/0.374, allocations: 31.91 kB / 0.8089 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.3751, allocations: 1.566 MB / 0.8104 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3751, allocations: 0 / 0.8104 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.3763, allocations: 0.944 MB / 0.8114 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003226/0.3766, allocations: 219 kB / 0.8116 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.641e-05/0.3767, allocations: 24 kB / 0.8116 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003064/0.377, allocations: 71.77 kB / 0.8117 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.3771, allocations: 68.86 kB / 0.8117 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.572e-05/0.3772, allocations: 35.98 kB / 0.8118 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005321/0.3777, allocations: 0.5743 MB / 0.8123 GB, free: 176 kB / 0.6355 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3777, allocations: 0 / 0.8123 GB, free: 176 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006524/0.3784, allocations: 343.1 kB / 0.8126 GB, free: 15.83 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002263/0.3806, allocations: 2.05 MB / 0.8146 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001222/0.3818, allocations: 0.7687 MB / 0.8154 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3818, allocations: 3.938 kB / 0.8154 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004975/0.3823, allocations: 492.4 kB / 0.8159 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009452/0.3833, allocations: 481.7 kB / 0.8163 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007711/0.391, allocations: 7.101 MB / 0.8233 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.3913, allocations: 0.5216 MB / 0.8238 GB, free: 4.504 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006127/0.3919, allocations: 283.8 kB / 0.824 GB, free: 4.223 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000413/0.3924, allocations: 480.3 kB / 0.8245 GB, free: 3.754 MB / 0.6511 GB Notification: Performance of SimCode: time 1.332e-06/0.3924, allocations: 0 / 0.8245 GB, free: 3.754 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03976/0.4321, allocations: 28.17 MB / 0.852 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/8.536, allocations: 6.094 kB / 0.852 GB, free: 7.953 MB / 0.6823 GB " [Timeout remaining time 651] (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/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.157949533313513] Failed to read output from testmodel.py, exit status != 0: 8.686477633193135 8.695621433 8.342659194 Calling exit ...