Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_dev_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.007787/0.007787, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001773/0.001773, allocations: 192.8 kB / 16.67 MB, free: 5.875 MB / 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: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8055/0.8055, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001187, allocations: 70.77 kB / 0.5851 GB, free: 21.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1439, allocations: 80.91 MB / 0.6641 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00704/0.151, allocations: 4.873 MB / 0.6689 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5542/0.7052, allocations: 150.8 MB / 0.8161 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009143/0.7061, allocations: 26.94 kB / 0.8161 GB, free: 8 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007414/0.7069, allocations: 337.5 kB / 0.8165 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.7084, allocations: 0.4923 MB / 0.8169 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.7102, allocations: 0.8204 MB / 0.8177 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001294/0.7115, allocations: 1.346 MB / 0.819 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009617/0.7125, allocations: 0.8208 MB / 0.8199 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005459/0.713, allocations: 493.2 kB / 0.8203 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004545/0.7135, allocations: 0.506 MB / 0.8208 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.7136, allocations: 118 kB / 0.8209 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007496/0.7144, allocations: 482.9 kB / 0.8214 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.7146, allocations: 317.9 kB / 0.8217 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004258/0.7151, allocations: 0.5991 MB / 0.8223 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.7168, allocations: 1.762 MB / 0.824 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.7168, allocations: 2.094 kB / 0.824 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7168, allocations: 0 / 0.824 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.655e-05/0.7169, allocations: 0 / 0.824 GB, free: 4.207 MB / 0.5919 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.002258/0.7191, allocations: 1.618 MB / 0.8256 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.7192, allocations: 11.08 kB / 0.8256 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000158/0.7193, allocations: 153.1 kB / 0.8257 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009108/0.7202, allocations: 221.1 kB / 0.8259 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.7215, allocations: 0.8784 MB / 0.8268 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.221e-05/0.7215, allocations: 72.03 kB / 0.8269 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.994e-05/0.7216, allocations: 92.02 kB / 0.827 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.7232, allocations: 0.97 MB / 0.8279 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.7232, allocations: 0 / 0.8279 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-05/0.7233, allocations: 39.97 kB / 0.8279 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.7233, allocations: 27.98 kB / 0.828 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/0.725, allocations: 1.118 MB / 0.8291 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003885/0.7289, allocations: 2.666 MB / 0.8317 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.73, allocations: 0.7008 MB / 0.8324 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004703/0.7305, allocations: 270 kB / 0.8326 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.928e-05/0.7306, allocations: 37.3 kB / 0.8326 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007031/0.7313, allocations: 416.1 kB / 0.833 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=69): time 1.963e-06/0.7313, allocations: 0 / 0.833 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69): time 0.002776/0.7341, allocations: 1.087 MB / 0.8341 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.7342, allocations: 192.1 kB / 0.8343 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009075/0.7352, allocations: 0.7477 MB / 0.835 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.896e-05/0.7352, allocations: 36.2 kB / 0.8351 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004003/0.7356, allocations: 0.5096 MB / 0.8355 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.7358, allocations: 237.9 kB / 0.8358 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.736, allocations: 131 kB / 0.8359 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.7362, allocations: 329.6 kB / 0.8362 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004485/0.7366, allocations: 210.7 kB / 0.8364 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005624/0.7372, allocations: 313 kB / 0.8367 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.7382, allocations: 0.5194 MB / 0.8372 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.7382, allocations: 6.469 kB / 0.8372 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001842/0.7401, allocations: 0.7347 MB / 0.8379 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.7401, allocations: 4.875 kB / 0.8379 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.7401, allocations: 0 / 0.8379 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006074/0.7407, allocations: 82.25 kB / 0.838 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005645/0.7413, allocations: 131.1 kB / 0.8382 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/0.7433, allocations: 1.643 MB / 0.8398 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006622/0.7439, allocations: 77.64 kB / 0.8398 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.419e-05/0.744, allocations: 25.02 kB / 0.8399 GB, free: 8.836 MB / 0.6075 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 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005072/0.7445, allocations: 267.6 kB / 0.8401 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.7447, allocations: 112.7 kB / 0.8402 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.7468, allocations: 0.9724 MB / 0.8412 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.7468, allocations: 7.906 kB / 0.8412 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.7468, allocations: 0 / 0.8412 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.7468, allocations: 3.984 kB / 0.8412 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.7479, allocations: 0.9411 MB / 0.8421 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.7479, allocations: 0 / 0.8421 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/0.7484, allocations: 137.2 kB / 0.8422 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004498/0.7489, allocations: 71.86 kB / 0.8423 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.749, allocations: 19.83 kB / 0.8423 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/0.751, allocations: 1.686 MB / 0.844 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.751, allocations: 0 / 0.844 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.7528, allocations: 0.8446 MB / 0.8448 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004213/0.7532, allocations: 283.4 kB / 0.8451 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.7534, allocations: 13.44 kB / 0.8451 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000566/0.754, allocations: 58.92 kB / 0.8451 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.7541, allocations: 60.31 kB / 0.8452 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.745e-05/0.7542, allocations: 28.02 kB / 0.8452 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007444/0.7549, allocations: 0.5312 MB / 0.8457 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7549, allocations: 0 / 0.8457 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008675/0.7558, allocations: 309.3 kB / 0.846 GB, free: 4.383 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003339/0.7591, allocations: 1.89 MB / 0.8479 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001532/0.7607, allocations: 0.7043 MB / 0.8486 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7607, allocations: 4.188 kB / 0.8486 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008879/0.7616, allocations: 492.2 kB / 0.849 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.7634, allocations: 458.5 kB / 0.8495 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.7745, allocations: 6.605 MB / 0.8559 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006471/0.7751, allocations: 1.074 MB / 0.857 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008612/0.776, allocations: 279 kB / 0.8572 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005726/0.7766, allocations: 447.3 kB / 0.8577 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/0.7766, allocations: 0 / 0.8577 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05186/0.8285, allocations: 23.91 MB / 0.881 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.86, allocations: 15.45 kB / 0.881 GB, free: 0.832 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)