Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000934/0.0009337, allocations: 179.2 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4472/0.4472, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 221.3 MB / 348.3 MB, free: 416 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008932/0.0008932, allocations: 107 kB / 421.2 MB, free: 5.453 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.834e-05/2.846e-05, allocations: 4 kB / 0.4897 GB, free: 5.246 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3475, allocations: 72.31 MB / 0.5603 GB, free: 40.39 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.214/3.561, allocations: 1.685 GB / 2.246 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/3.561, allocations: 91 kB / 2.246 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1304/3.692, allocations: 64.05 MB / 2.308 GB, free: 2.141 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.973e-06/3.692, allocations: 0 / 2.308 GB, free: 2.141 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001209/3.692, allocations: 35.94 kB / 2.308 GB, free: 2.105 MB / 0.6042 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.002278/3.694, allocations: 1.238 MB / 2.309 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/3.694, allocations: 11.98 kB / 2.309 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002199/3.695, allocations: 147.9 kB / 2.31 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000992/3.696, allocations: 214.2 kB / 2.31 GB, free: 456 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3252/4.021, allocations: 0.7676 MB / 2.311 GB, free: 192.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/4.021, allocations: 76.75 kB / 2.311 GB, free: 192.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/4.021, allocations: 90.69 kB / 2.311 GB, free: 192.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/4.023, allocations: 0.93 MB / 2.312 GB, free: 192.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/4.023, allocations: 4.938 kB / 2.312 GB, free: 192.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-05/4.023, allocations: 39.73 kB / 2.312 GB, free: 192.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/4.023, allocations: 22.72 kB / 2.312 GB, free: 192.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/4.025, allocations: 1.077 MB / 2.313 GB, free: 192.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004699/4.03, allocations: 2.734 MB / 2.315 GB, free: 191.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/4.031, allocations: 0.6746 MB / 2.316 GB, free: 191.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004254/4.032, allocations: 249.8 kB / 2.316 GB, free: 191.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/4.032, allocations: 29.83 kB / 2.316 GB, free: 191.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006948/4.032, allocations: 407.6 kB / 2.317 GB, free: 191.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=69): time 2.986e-06/4.032, allocations: 0 / 2.317 GB, free: 191.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69): time 0.001436/4.034, allocations: 0.6816 MB / 2.317 GB, free: 191.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/4.034, allocations: 239.8 kB / 2.318 GB, free: 191.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007443/4.035, allocations: 0.7167 MB / 2.318 GB, free: 191.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/4.035, allocations: 39.86 kB / 2.318 GB, free: 191.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/4.035, allocations: 488.1 kB / 2.319 GB, free: 191.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/4.035, allocations: 233.5 kB / 2.319 GB, free: 191 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/4.035, allocations: 14.72 kB / 2.319 GB, free: 191 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.797e-05/4.035, allocations: 334 kB / 2.319 GB, free: 190.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/4.036, allocations: 190.5 kB / 2.32 GB, free: 190.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/4.036, allocations: 309.8 kB / 2.32 GB, free: 190.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/4.036, allocations: 233.8 kB / 2.32 GB, free: 190.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/4.036, allocations: 0 / 2.32 GB, free: 190.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001224/4.037, allocations: 0.6951 MB / 2.321 GB, free: 190.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/4.037, allocations: 7.781 kB / 2.321 GB, free: 190.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/4.037, allocations: 3.375 kB / 2.321 GB, free: 190.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005495/4.038, allocations: 80.27 kB / 2.321 GB, free: 190.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004887/4.039, allocations: 132.2 kB / 2.321 GB, free: 190.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/4.04, allocations: 1.533 MB / 2.322 GB, free: 189.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005212/4.041, allocations: 77.81 kB / 2.323 GB, free: 189.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/4.041, allocations: 30 kB / 2.323 GB, free: 189.1 MB / 0.6042 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.0001262/4.041, allocations: 136.2 kB / 2.323 GB, free: 189 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/4.041, allocations: 101.3 kB / 2.323 GB, free: 189 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/4.043, allocations: 0.9514 MB / 2.324 GB, free: 188.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/4.043, allocations: 7.656 kB / 2.324 GB, free: 188.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/4.043, allocations: 0 / 2.324 GB, free: 188.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/4.043, allocations: 7.125 kB / 2.324 GB, free: 188.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008888/4.044, allocations: 0.9573 MB / 2.325 GB, free: 188.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/4.044, allocations: 3.953 kB / 2.325 GB, free: 188.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/4.044, allocations: 137 kB / 2.325 GB, free: 188.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004442/4.045, allocations: 85.34 kB / 2.325 GB, free: 188.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/4.045, allocations: 23.3 kB / 2.325 GB, free: 188.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/4.046, allocations: 1.554 MB / 2.326 GB, free: 187.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/4.046, allocations: 1.938 kB / 2.326 GB, free: 187.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/4.047, allocations: 0.8037 MB / 2.327 GB, free: 187.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003435/4.048, allocations: 300.8 kB / 2.328 GB, free: 187.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-05/4.048, allocations: 13.75 kB / 2.328 GB, free: 187.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004822/4.048, allocations: 68.69 kB / 2.328 GB, free: 187.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/4.048, allocations: 64.45 kB / 2.328 GB, free: 187.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/4.049, allocations: 26.92 kB / 2.328 GB, free: 187.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005813/4.049, allocations: 0.568 MB / 2.328 GB, free: 187 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/4.049, allocations: 0 / 2.328 GB, free: 187 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009561/4.05, allocations: 375.1 kB / 2.329 GB, free: 187 MB / 0.6042 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.003004/4.053, allocations: 2.273 MB / 2.331 GB, free: 186.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001011/4.054, allocations: 0.6649 MB / 2.331 GB, free: 186.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/4.054, allocations: 3.125 kB / 2.331 GB, free: 186.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005842/4.055, allocations: 463.8 kB / 2.332 GB, free: 186 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/4.056, allocations: 375.5 kB / 2.332 GB, free: 186 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003347/4.059, allocations: 1.759 MB / 2.334 GB, free: 185.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/4.06, allocations: 1.095 MB / 2.335 GB, free: 184.8 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007254/4.061, allocations: 284.7 kB / 2.335 GB, free: 184.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004892/4.061, allocations: 434.9 kB / 2.336 GB, free: 184.8 MB / 0.6042 GB Notification: Performance of SimCode: time 2.71e-07/4.061, allocations: 2.812 kB / 2.336 GB, free: 184.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05338/4.114, allocations: 34.55 MB / 2.369 GB, free: 174.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/4.115, allocations: 231.6 kB / 2.37 GB, free: 173.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.997/7.111, allocations: 0 / 2.37 GB, free: 173.9 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)