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/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 97.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.001771, allocations: 174.8 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.572/2.572, allocations: 223.2 MB / 240.5 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.397/1.397, allocations: 113.7 MB / 405.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006535/0.0006536, allocations: 9.094 kB / 493 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2809, allocations: 77.11 MB / 0.5567 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.009088/0.29, allocations: 4.314 MB / 0.5609 GB, free: 7.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.8398/1.13, allocations: 127.8 MB / 0.6857 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/1.132, allocations: 19.88 kB / 0.6858 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007743/1.133, allocations: 99.02 kB / 0.6858 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003262/1.136, allocations: 0.5596 MB / 0.6864 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003421/1.139, allocations: 0.6409 MB / 0.687 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003949/1.143, allocations: 1.053 MB / 0.688 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/1.145, allocations: 0.578 MB / 0.6886 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/1.147, allocations: 362.3 kB / 0.689 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008837/1.148, allocations: 389.7 kB / 0.6893 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/1.148, allocations: 28 kB / 0.6894 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/1.149, allocations: 307.6 kB / 0.6896 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003503/1.149, allocations: 207 kB / 0.6898 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003753/1.15, allocations: 237 kB / 0.6901 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002875/1.153, allocations: 1.364 MB / 0.6914 GB, free: 16 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/1.153, allocations: 0 / 0.6914 GB, free: 16 kB / 0.4981 GB Notification: Performance of FrontEnd: time 3.637e-06/1.153, allocations: 3.938 kB / 0.6914 GB, free: 12 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.998e-05/1.153, allocations: 0 / 0.6914 GB, free: 12 kB / 0.4981 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.004721/1.158, allocations: 1.434 MB / 0.6928 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.52e-05/1.158, allocations: 12.03 kB / 0.6928 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003404/1.158, allocations: 148.2 kB / 0.693 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/1.16, allocations: 230.1 kB / 0.6932 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/1.162, allocations: 0.8521 MB / 0.694 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/1.162, allocations: 77.95 kB / 0.6941 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/1.162, allocations: 95.98 kB / 0.6942 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002803/1.165, allocations: 1.016 MB / 0.6952 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/1.165, allocations: 4 kB / 0.6952 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/1.165, allocations: 44 kB / 0.6952 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.999e-05/1.165, allocations: 28 kB / 0.6952 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003087/1.169, allocations: 1.167 MB / 0.6964 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007817/1.176, allocations: 2.866 MB / 0.6992 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/1.179, allocations: 0.7991 MB / 0.7 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/1.179, allocations: 40.53 kB / 0.7 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001368/1.181, allocations: 491.1 kB / 0.7005 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=78): time 3.817e-06/1.181, allocations: 0 / 0.7005 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of matching and sorting (n=78): time 0.005197/1.186, allocations: 1.211 MB / 0.7017 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001711/1.186, allocations: 196.6 kB / 0.7018 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/1.188, allocations: 0.7928 MB / 0.7026 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001462/1.188, allocations: 37.7 kB / 0.7026 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007379/1.189, allocations: 0.5079 MB / 0.7031 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003919/1.189, allocations: 256.3 kB / 0.7034 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/1.19, allocations: 12 kB / 0.7034 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.19, allocations: 337.9 kB / 0.7037 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008562/1.191, allocations: 249.9 kB / 0.704 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009821/1.192, allocations: 350.6 kB / 0.7043 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009274/1.193, allocations: 294.8 kB / 0.7046 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/1.193, allocations: 0 / 0.7046 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003404/1.196, allocations: 0.8134 MB / 0.7054 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/1.196, allocations: 8 kB / 0.7054 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/1.196, allocations: 0 / 0.7054 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000989/1.197, allocations: 88.8 kB / 0.7055 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/1.198, allocations: 151.8 kB / 0.7056 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00348/1.202, allocations: 1.54 MB / 0.7071 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/1.203, allocations: 95.33 kB / 0.7072 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/1.203, allocations: 31.95 kB / 0.7072 GB, free: 15.27 MB / 0.5294 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * 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 (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.0009221/1.204, allocations: 290.4 kB / 0.7075 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003039/1.205, allocations: 98.78 kB / 0.7076 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003781/1.208, allocations: 1.099 MB / 0.7087 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.157e-05/1.208, allocations: 8 kB / 0.7087 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.208, allocations: 0 / 0.7087 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/1.208, allocations: 3.984 kB / 0.7087 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/1.211, allocations: 1.013 MB / 0.7097 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/1.211, allocations: 7.953 kB / 0.7097 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009891/1.212, allocations: 147.7 kB / 0.7098 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007689/1.213, allocations: 88.7 kB / 0.7099 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.713e-05/1.213, allocations: 23.98 kB / 0.7099 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003273/1.216, allocations: 1.567 MB / 0.7115 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.216, allocations: 4.062 kB / 0.7115 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003384/1.22, allocations: 0.9432 MB / 0.7124 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008208/1.22, allocations: 299.4 kB / 0.7127 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/1.221, allocations: 23.98 kB / 0.7127 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/1.222, allocations: 82.75 kB / 0.7128 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/1.222, allocations: 68.89 kB / 0.7128 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/1.222, allocations: 32.05 kB / 0.7129 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001449/1.224, allocations: 0.5581 MB / 0.7134 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.61e-07/1.224, allocations: 0 / 0.7134 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001595/1.225, allocations: 334.9 kB / 0.7137 GB, free: 8.344 MB / 0.5294 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 (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.00573/1.231, allocations: 1.995 MB / 0.7157 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002765/1.234, allocations: 0.7924 MB / 0.7165 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/1.234, allocations: 8 kB / 0.7165 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001562/1.235, allocations: 0.512 MB / 0.717 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/1.238, allocations: 378.8 kB / 0.7173 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02236/1.26, allocations: 6.436 MB / 0.7236 GB, free: 14.15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/1.262, allocations: 1.125 MB / 0.7247 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001943/1.264, allocations: 291.6 kB / 0.725 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/1.265, allocations: 467.2 kB / 0.7254 GB, free: 12.26 MB / 0.545 GB Notification: Performance of SimCode: time 2.354e-06/1.265, allocations: 0 / 0.7254 GB, free: 12.26 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09098/1.356, allocations: 24.96 MB / 0.7498 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003796/1.356, allocations: 263.6 kB / 0.7501 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.336/5.692, allocations: 0 / 0.7501 GB, free: 3.312 MB / 0.5606 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) Environment - environmentSimulation: