Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_IDEAS_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.001691/0.001691, allocations: 99 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002438/0.002439, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.397/2.397, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.136/1.136, allocations: 132.2 MB / 423.2 MB, free: 2.234 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003585, allocations: 11.98 kB / 0.5033 GB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7134/0.7138, allocations: 81.56 MB / 0.583 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008267/0.7221, allocations: 4.142 MB / 0.587 GB, free: 1.109 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2423/0.9644, allocations: 127.7 MB / 0.7117 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001772/0.9663, allocations: 27.81 kB / 0.7117 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007085/0.967, allocations: 87.14 kB / 0.7118 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003998/0.971, allocations: 0.5203 MB / 0.7123 GB, free: 11.83 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003533/0.9746, allocations: 0.6179 MB / 0.7129 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003346/0.9779, allocations: 0.9785 MB / 0.7139 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.9794, allocations: 0.5862 MB / 0.7145 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009764/0.9804, allocations: 330.4 kB / 0.7148 GB, free: 9.309 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006683/0.9811, allocations: 333.9 kB / 0.7151 GB, free: 8.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.9812, allocations: 24 kB / 0.7151 GB, free: 8.957 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.9827, allocations: 303.6 kB / 0.7154 GB, free: 8.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003396/0.9831, allocations: 183.1 kB / 0.7156 GB, free: 8.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003666/0.9835, allocations: 221 kB / 0.7158 GB, free: 8.258 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002609/0.9861, allocations: 1.27 MB / 0.717 GB, free: 6.984 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.9861, allocations: 0 / 0.717 GB, free: 6.984 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.379e-06/0.9862, allocations: 0 / 0.717 GB, free: 6.984 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.407e-05/0.9862, allocations: 0 / 0.717 GB, free: 6.984 MB / 0.545 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.004366/0.9906, allocations: 1.345 MB / 0.7183 GB, free: 5.586 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.853e-05/0.9907, allocations: 20.02 kB / 0.7184 GB, free: 5.566 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003886/0.9911, allocations: 143.9 kB / 0.7185 GB, free: 5.418 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/0.9928, allocations: 226.1 kB / 0.7187 GB, free: 5.195 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002356/0.9952, allocations: 0.809 MB / 0.7195 GB, free: 4.344 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.9953, allocations: 70 kB / 0.7196 GB, free: 4.277 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/0.9955, allocations: 88 kB / 0.7197 GB, free: 4.191 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002836/0.9984, allocations: 0.9574 MB / 0.7206 GB, free: 3.191 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.9984, allocations: 0 / 0.7206 GB, free: 3.191 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/0.9986, allocations: 47.95 kB / 0.7206 GB, free: 3.145 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/0.9986, allocations: 20 kB / 0.7207 GB, free: 3.125 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00324/1.002, allocations: 1.124 MB / 0.7218 GB, free: 2 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007664/1.01, allocations: 2.722 MB / 0.7244 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/1.012, allocations: 0.7077 MB / 0.7251 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/1.012, allocations: 32.58 kB / 0.7251 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/1.013, allocations: 413.7 kB / 0.7255 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=69): time 5.03e-06/1.013, allocations: 4 kB / 0.7255 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69): time 0.005031/1.018, allocations: 1.087 MB / 0.7266 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/1.019, allocations: 188.5 kB / 0.7268 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/1.02, allocations: 0.7437 MB / 0.7275 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/1.021, allocations: 37.7 kB / 0.7275 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007476/1.021, allocations: 0.492 MB / 0.728 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003151/1.022, allocations: 224.8 kB / 0.7282 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/1.022, allocations: 16 kB / 0.7282 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002135/1.022, allocations: 333.8 kB / 0.7286 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007421/1.023, allocations: 213.2 kB / 0.7288 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008625/1.024, allocations: 314.7 kB / 0.7291 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008449/1.024, allocations: 267.2 kB / 0.7293 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/1.024, allocations: 7.938 kB / 0.7293 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003007/1.028, allocations: 0.7351 MB / 0.73 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/1.028, allocations: 4 kB / 0.7301 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.028, allocations: 0 / 0.7301 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009635/1.029, allocations: 84.88 kB / 0.7301 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009934/1.03, allocations: 131.8 kB / 0.7303 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003783/1.033, allocations: 1.554 MB / 0.7318 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/1.035, allocations: 79.41 kB / 0.7319 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/1.035, allocations: 32.03 kB / 0.7319 GB, free: 7.27 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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.001012/1.036, allocations: 272 kB / 0.7321 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003518/1.036, allocations: 102.7 kB / 0.7322 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0036/1.04, allocations: 0.9841 MB / 0.7332 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/1.04, allocations: 12 kB / 0.7332 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.04, allocations: 0 / 0.7332 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/1.04, allocations: 3.984 kB / 0.7332 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/1.042, allocations: 0.9387 MB / 0.7341 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/1.042, allocations: 0 / 0.7341 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008607/1.043, allocations: 139.9 kB / 0.7343 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007343/1.044, allocations: 84.72 kB / 0.7343 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.042e-05/1.044, allocations: 19.98 kB / 0.7344 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003078/1.047, allocations: 1.567 MB / 0.7359 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.047, allocations: 4.062 kB / 0.7359 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003147/1.05, allocations: 0.8489 MB / 0.7367 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007326/1.051, allocations: 283.5 kB / 0.737 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/1.051, allocations: 19.98 kB / 0.737 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000933/1.052, allocations: 73.72 kB / 0.7371 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/1.052, allocations: 60.91 kB / 0.7371 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/1.052, allocations: 32.2 kB / 0.7372 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00125/1.053, allocations: 0.5224 MB / 0.7377 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.21e-07/1.053, allocations: 0 / 0.7377 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001453/1.055, allocations: 303.1 kB / 0.738 GB, free: 0.7812 MB / 0.5606 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) * Number of clocked states: 0 () * 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.005069/1.06, allocations: 1.876 MB / 0.7398 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002561/1.063, allocations: 0.7082 MB / 0.7405 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/1.063, allocations: 0 / 0.7405 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/1.064, allocations: 484.5 kB / 0.741 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002951/1.067, allocations: 384.1 kB / 0.7413 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0206/1.088, allocations: 5.973 MB / 0.7472 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/1.089, allocations: 1.098 MB / 0.7482 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001885/1.091, allocations: 275.1 kB / 0.7485 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009919/1.092, allocations: 439.3 kB / 0.7489 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of SimCode: time 1.413e-06/1.092, allocations: 0 / 0.7489 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08447/1.176, allocations: 23.52 MB / 0.7719 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003835/1.177, allocations: 251.3 kB / 0.7721 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.063/5.24, allocations: 3.5 kB / 0.7721 GB, free: 14.07 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) Environment - environmentSimulation: