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.000831/0.000831, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009021/0.000902, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7371/0.7371, allocations: 132.3 MB / 423.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000285/0.0002851, allocations: 8.562 kB / 0.5035 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3715, allocations: 81.57 MB / 0.5831 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.004367/0.3759, allocations: 4.192 MB / 0.5872 GB, free: 1.004 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1485/0.5244, allocations: 136.9 MB / 0.721 GB, free: 3.059 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009188/0.5254, allocations: 19.88 kB / 0.721 GB, free: 3.039 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008358/0.5262, allocations: 254.2 kB / 0.7212 GB, free: 2.789 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.5278, allocations: 408.5 kB / 0.7216 GB, free: 2.395 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.5295, allocations: 0.6213 MB / 0.7222 GB, free: 1.781 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001406/0.5309, allocations: 1.137 MB / 0.7233 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008882/0.5318, allocations: 0.5824 MB / 0.7239 GB, free: 40 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005431/0.5323, allocations: 334.3 kB / 0.7242 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004875/0.5328, allocations: 353.8 kB / 0.7246 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.5329, allocations: 28 kB / 0.7246 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007493/0.5337, allocations: 335.6 kB / 0.7249 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.5339, allocations: 179.1 kB / 0.7251 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.5341, allocations: 229 kB / 0.7253 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.5355, allocations: 1.27 MB / 0.7265 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.5355, allocations: 3.938 kB / 0.7265 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5355, allocations: 0 / 0.7265 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.154e-05/0.5356, allocations: 0 / 0.7265 GB, free: 13.32 MB / 0.5606 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.002188/0.5377, allocations: 1.337 MB / 0.7279 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.5378, allocations: 16.03 kB / 0.7279 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000167/0.538, allocations: 143.9 kB / 0.728 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008146/0.5388, allocations: 222.1 kB / 0.7282 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.5399, allocations: 0.8167 MB / 0.729 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.293e-05/0.5399, allocations: 66 kB / 0.7291 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.887e-05/0.54, allocations: 92 kB / 0.7292 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.5415, allocations: 0.9613 MB / 0.7301 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.5416, allocations: 4 kB / 0.7301 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-05/0.5416, allocations: 47.95 kB / 0.7302 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.5417, allocations: 23.94 kB / 0.7302 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.5434, allocations: 1.12 MB / 0.7313 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003912/0.5473, allocations: 2.727 MB / 0.7339 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.5484, allocations: 0.7099 MB / 0.7346 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004323/0.5489, allocations: 270.4 kB / 0.7349 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.301e-05/0.549, allocations: 36.52 kB / 0.7349 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006956/0.5497, allocations: 417.8 kB / 0.7353 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=69): time 2.264e-06/0.5497, allocations: 0 / 0.7353 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69): time 0.002504/0.5522, allocations: 1.09 MB / 0.7364 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.749e-05/0.5523, allocations: 188.5 kB / 0.7366 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008274/0.5531, allocations: 0.7437 MB / 0.7373 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.635e-05/0.5532, allocations: 41.7 kB / 0.7373 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/0.5535, allocations: 499.9 kB / 0.7378 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.5537, allocations: 228.7 kB / 0.738 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.5538, allocations: 8 kB / 0.738 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.5539, allocations: 334 kB / 0.7383 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003977/0.5543, allocations: 213.2 kB / 0.7386 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004576/0.5547, allocations: 314.8 kB / 0.7389 GB, free: 368 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004531/0.5552, allocations: 267.1 kB / 0.7391 GB, free: 104 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5552, allocations: 0 / 0.7391 GB, free: 104 kB / 0.5606 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001497/0.5567, allocations: 0.7311 MB / 0.7398 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.5568, allocations: 8 kB / 0.7398 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.5568, allocations: 0 / 0.7398 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005188/0.5573, allocations: 80.88 kB / 0.7399 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005273/0.5578, allocations: 139.8 kB / 0.74 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.5597, allocations: 1.528 MB / 0.7415 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004813/0.5601, allocations: 87.44 kB / 0.7416 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/0.5602, allocations: 23.98 kB / 0.7416 GB, free: 13.36 MB / 0.5762 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.0003714/0.5606, allocations: 281.8 kB / 0.7419 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.5607, allocations: 98.73 kB / 0.742 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.5627, allocations: 0.9993 MB / 0.743 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.5628, allocations: 8 kB / 0.743 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.5628, allocations: 0 / 0.743 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.5628, allocations: 3.984 kB / 0.743 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009781/0.5638, allocations: 0.931 MB / 0.7439 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5638, allocations: 0 / 0.7439 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005076/0.5643, allocations: 139.8 kB / 0.744 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004521/0.5648, allocations: 84.77 kB / 0.7441 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.25e-05/0.5648, allocations: 19.98 kB / 0.7441 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.5664, allocations: 1.552 MB / 0.7456 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5664, allocations: 4.031 kB / 0.7456 GB, free: 9.031 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.568, allocations: 0.8528 MB / 0.7465 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003234/0.5684, allocations: 287.5 kB / 0.7468 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.5685, allocations: 16 kB / 0.7468 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004888/0.569, allocations: 69.58 kB / 0.7468 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.5691, allocations: 56.98 kB / 0.7469 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.829e-05/0.5692, allocations: 35.98 kB / 0.7469 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006077/0.5698, allocations: 0.5185 MB / 0.7474 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5698, allocations: 0 / 0.7474 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009756/0.5708, allocations: 307.1 kB / 0.7477 GB, free: 6.871 MB / 0.5762 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.003159/0.5739, allocations: 1.887 MB / 0.7496 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00132/0.5753, allocations: 0.7122 MB / 0.7503 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5753, allocations: 0 / 0.7503 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007609/0.5761, allocations: 476.3 kB / 0.7507 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.5774, allocations: 394.2 kB / 0.7511 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009826/0.5873, allocations: 5.587 MB / 0.7565 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006942/0.588, allocations: 1.075 MB / 0.7576 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008277/0.5888, allocations: 263.2 kB / 0.7579 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005614/0.5894, allocations: 443.2 kB / 0.7583 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.5894, allocations: 0 / 0.7583 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04173/0.6311, allocations: 23.55 MB / 0.7813 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.6313, allocations: 260.3 kB / 0.7815 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.244/2.875, allocations: 0 / 0.7815 GB, free: 4.52 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: