Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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) 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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.525/2.525, allocations: 284.9 MB / 292.4 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.001501, allocations: 184.8 kB / 360.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.123/2.123, allocations: 205.2 MB / 0.6191 GB, free: 12.24 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 93 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.569e-05/2.574e-05, allocations: 4 kB / 0.8509 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8268/0.8269, allocations: 115.3 MB / 0.9634 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.147/6.974, allocations: 2.072 GB / 3.036 GB, free: 46.82 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/6.974, allocations: 86.95 kB / 3.036 GB, free: 46.78 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9638/7.938, allocations: 61.59 MB / 3.096 GB, free: 317.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.434e-06/7.938, allocations: 0 / 3.096 GB, free: 317.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001566/7.938, allocations: 35.69 kB / 3.096 GB, free: 317.6 MB / 0.948 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.003097/7.941, allocations: 1.208 MB / 3.097 GB, free: 316.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/7.941, allocations: 9.719 kB / 3.097 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/7.943, allocations: 214.2 kB / 3.097 GB, free: 316.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002516/7.946, allocations: 0.7707 MB / 3.098 GB, free: 316.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.407e-05/7.946, allocations: 32.14 kB / 3.098 GB, free: 316.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/7.946, allocations: 59.3 kB / 3.098 GB, free: 316.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003095/7.949, allocations: 1.015 MB / 3.099 GB, free: 316.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002427/7.952, allocations: 0.7926 MB / 3.1 GB, free: 316.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/7.952, allocations: 1.188 kB / 3.1 GB, free: 316.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/7.952, allocations: 1.656 kB / 3.1 GB, free: 316.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/7.952, allocations: 22.44 kB / 3.1 GB, free: 316.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006609/7.958, allocations: 2.518 MB / 3.102 GB, free: 315.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/7.96, allocations: 0.6332 MB / 3.103 GB, free: 315.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000546/7.961, allocations: 231 kB / 3.103 GB, free: 315.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/7.961, allocations: 32.48 kB / 3.103 GB, free: 315.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008698/7.962, allocations: 390.4 kB / 3.104 GB, free: 315.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 3.336e-06/7.962, allocations: 0 / 3.104 GB, free: 315.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=69): time 0.002574/7.964, allocations: 0.6444 MB / 3.104 GB, free: 315.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.997e-05/7.964, allocations: 239.8 kB / 3.104 GB, free: 315.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/7.966, allocations: 0.6074 MB / 3.105 GB, free: 315.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002028/7.966, allocations: 29.2 kB / 3.105 GB, free: 315 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004631/7.966, allocations: 493.5 kB / 3.105 GB, free: 314.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/7.967, allocations: 219.4 kB / 3.106 GB, free: 314.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/7.967, allocations: 0 / 3.106 GB, free: 314.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.294e-05/7.967, allocations: 330.7 kB / 3.106 GB, free: 314.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004608/7.967, allocations: 186 kB / 3.106 GB, free: 314.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/7.968, allocations: 282.4 kB / 3.106 GB, free: 314.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005722/7.968, allocations: 238.7 kB / 3.107 GB, free: 314.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/7.968, allocations: 0 / 3.107 GB, free: 314.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002396/7.971, allocations: 0.6457 MB / 3.107 GB, free: 314.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/7.971, allocations: 3.688 kB / 3.107 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/7.971, allocations: 1.031 kB / 3.107 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009944/7.972, allocations: 85.53 kB / 3.107 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/7.973, allocations: 132.5 kB / 3.108 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/7.976, allocations: 1.46 MB / 3.109 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/7.977, allocations: 59.95 kB / 3.109 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/7.977, allocations: 24.52 kB / 3.109 GB, free: 312.9 MB / 0.948 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.0002644/7.977, allocations: 127.3 kB / 3.109 GB, free: 312.8 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002687/7.98, allocations: 0.644 MB / 3.11 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000429/7.981, allocations: 89.31 kB / 3.11 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0036/7.984, allocations: 0.8965 MB / 3.111 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/7.984, allocations: 7.594 kB / 3.111 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/7.984, allocations: 1.25 kB / 3.111 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-05/7.984, allocations: 4.219 kB / 3.111 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/7.986, allocations: 0.815 MB / 3.112 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/7.986, allocations: 5.531 kB / 3.112 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/7.988, allocations: 138.7 kB / 3.112 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009063/7.989, allocations: 83.55 kB / 3.112 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001507/7.989, allocations: 13.2 kB / 3.112 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002431/7.991, allocations: 1.494 MB / 3.113 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/7.991, allocations: 0.5625 kB / 3.113 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/7.994, allocations: 0.7583 MB / 3.114 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008861/7.995, allocations: 286.6 kB / 3.114 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/7.995, allocations: 1.688 kB / 3.114 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/7.996, allocations: 52.42 kB / 3.114 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/7.997, allocations: 55.48 kB / 3.114 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/7.997, allocations: 33.7 kB / 3.114 GB, free: 310.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001104/7.998, allocations: 491.2 kB / 3.115 GB, free: 310.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.51e-07/7.998, allocations: 3.344 kB / 3.115 GB, free: 310.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001863/8, allocations: 322.1 kB / 3.115 GB, free: 310.7 MB / 0.948 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.005574/8.005, allocations: 2.233 MB / 3.117 GB, free: 309.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002135/8.007, allocations: 0.6262 MB / 3.118 GB, free: 309.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/8.008, allocations: 0 / 3.118 GB, free: 309.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/8.009, allocations: 439.3 kB / 3.118 GB, free: 309.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002986/8.012, allocations: 371.2 kB / 3.119 GB, free: 309.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007985/8.02, allocations: 1.657 MB / 3.12 GB, free: 309.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009833/8.021, allocations: 1.096 MB / 3.121 GB, free: 308.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001909/8.023, allocations: 265.8 kB / 3.122 GB, free: 308.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/8.024, allocations: 431.9 kB / 3.122 GB, free: 308.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.243e-06/8.024, allocations: 0 / 3.122 GB, free: 308.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1205/8.145, allocations: 26.02 MB / 3.147 GB, free: 306.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/8.145, allocations: 188.5 kB / 3.148 GB, free: 306.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.014/12.16, allocations: 0 / 3.148 GB, free: 306.2 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)