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.9159/0.9159, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001205/0.001205, allocations: 192.2 kB / 182.2 MB, free: 9.426 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.708/1.708, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009549/0.0009548, allocations: 95.47 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002042/0.002042, allocations: 282.9 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.328e-05/2.33e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5829/0.5829, allocations: 82.78 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.897/5.48, allocations: 1.692 GB / 2.449 GB, free: 58.82 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/5.481, allocations: 88.77 kB / 2.449 GB, free: 58.78 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1341/5.615, allocations: 63.17 MB / 2.511 GB, free: 0.707 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.405e-06/5.615, allocations: 0 / 2.511 GB, free: 0.707 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001011/5.615, allocations: 43.92 kB / 2.511 GB, free: 0.6641 MB / 0.698 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.5707/6.186, allocations: 1.224 MB / 2.512 GB, free: 233.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.613e-05/6.186, allocations: 9.531 kB / 2.512 GB, free: 233.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/6.187, allocations: 222.8 kB / 2.512 GB, free: 233.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001936/6.189, allocations: 0.774 MB / 2.513 GB, free: 233.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.044e-05/6.189, allocations: 31.05 kB / 2.513 GB, free: 233.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/6.19, allocations: 52.78 kB / 2.513 GB, free: 233.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002425/6.192, allocations: 1.02 MB / 2.514 GB, free: 233.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/6.194, allocations: 0.7988 MB / 2.515 GB, free: 233 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/6.194, allocations: 5 kB / 2.515 GB, free: 233 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.292e-05/6.194, allocations: 1.156 kB / 2.515 GB, free: 233 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/6.194, allocations: 26.61 kB / 2.515 GB, free: 233 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005192/6.199, allocations: 2.544 MB / 2.517 GB, free: 232.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/6.2, allocations: 0.6302 MB / 2.518 GB, free: 232.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003926/6.201, allocations: 233.8 kB / 2.518 GB, free: 232.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/6.201, allocations: 31.48 kB / 2.518 GB, free: 232.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006807/6.201, allocations: 378.2 kB / 2.519 GB, free: 232.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=69): time 2.885e-06/6.201, allocations: 0 / 2.519 GB, free: 232.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=69): time 0.001787/6.203, allocations: 0.6533 MB / 2.519 GB, free: 232.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/6.203, allocations: 240.9 kB / 2.519 GB, free: 231.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009857/6.204, allocations: 0.6158 MB / 2.52 GB, free: 231.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.87e-05/6.204, allocations: 27.02 kB / 2.52 GB, free: 231.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004943/6.205, allocations: 495.7 kB / 2.521 GB, free: 231.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/6.205, allocations: 219.8 kB / 2.521 GB, free: 231.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/6.205, allocations: 0 / 2.521 GB, free: 231.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001084/6.205, allocations: 327.3 kB / 2.521 GB, free: 231.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/6.206, allocations: 181.7 kB / 2.521 GB, free: 231.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004759/6.206, allocations: 287.5 kB / 2.522 GB, free: 231 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000488/6.207, allocations: 231.1 kB / 2.522 GB, free: 231 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/6.207, allocations: 3.438 kB / 2.522 GB, free: 231 MB / 0.698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001693/6.208, allocations: 0.6449 MB / 2.522 GB, free: 230.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/6.208, allocations: 5.312 kB / 2.522 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/6.208, allocations: 0.625 kB / 2.522 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000632/6.209, allocations: 82.58 kB / 2.522 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006528/6.21, allocations: 135.6 kB / 2.523 GB, free: 230.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/6.212, allocations: 1.471 MB / 2.524 GB, free: 229.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005579/6.212, allocations: 59.48 kB / 2.524 GB, free: 229.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.227e-05/6.212, allocations: 25.92 kB / 2.524 GB, free: 229.6 MB / 0.698 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.0001626/6.212, allocations: 120.1 kB / 2.524 GB, free: 229.5 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001412/6.214, allocations: 0.6486 MB / 2.525 GB, free: 229.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/6.214, allocations: 90.38 kB / 2.525 GB, free: 229.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/6.216, allocations: 0.8865 MB / 2.526 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/6.216, allocations: 9.625 kB / 2.526 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/6.216, allocations: 7.031 kB / 2.526 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/6.216, allocations: 3.938 kB / 2.526 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/6.217, allocations: 0.8161 MB / 2.527 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/6.217, allocations: 0 / 2.527 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005096/6.217, allocations: 136.9 kB / 2.527 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000449/6.218, allocations: 90.02 kB / 2.527 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/6.218, allocations: 18.05 kB / 2.527 GB, free: 229.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/6.219, allocations: 1.492 MB / 2.528 GB, free: 227.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/6.219, allocations: 0 / 2.528 GB, free: 227.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/6.221, allocations: 0.756 MB / 2.529 GB, free: 227.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003548/6.221, allocations: 279.9 kB / 2.529 GB, free: 227.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/6.221, allocations: 7.75 kB / 2.529 GB, free: 227.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004706/6.222, allocations: 56.62 kB / 2.529 GB, free: 227.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/6.222, allocations: 58.56 kB / 2.529 GB, free: 227.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.314e-05/6.222, allocations: 27.44 kB / 2.529 GB, free: 227.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005619/6.222, allocations: 0.4885 MB / 2.53 GB, free: 227.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/6.222, allocations: 0 / 2.53 GB, free: 227.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001193/6.223, allocations: 350.4 kB / 2.53 GB, free: 227.5 MB / 0.698 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.003929/6.227, allocations: 2.283 MB / 2.533 GB, free: 226.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001109/6.229, allocations: 0.6219 MB / 2.533 GB, free: 226.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/6.229, allocations: 3.969 kB / 2.533 GB, free: 226.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006131/6.229, allocations: 431.6 kB / 2.534 GB, free: 226.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/6.231, allocations: 363.8 kB / 2.534 GB, free: 226.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/6.235, allocations: 1.684 MB / 2.536 GB, free: 226 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/6.235, allocations: 1.099 MB / 2.537 GB, free: 225.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009065/6.236, allocations: 273.2 kB / 2.537 GB, free: 225.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005578/6.237, allocations: 432.4 kB / 2.537 GB, free: 225.3 MB / 0.698 GB Notification: Performance of SimCode: time 8.71e-07/6.237, allocations: 0 / 2.537 GB, free: 225.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05935/6.296, allocations: 26.43 MB / 2.563 GB, free: 223.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/6.297, allocations: 203.2 kB / 2.563 GB, free: 223 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.102/9.399, allocations: 4 kB / 2.563 GB, free: 223 MB / 0.698 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)