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.006032/0.006032, allocations: 95.98 kB / 15.73 MB, free: 6.039 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.001147/0.001147, allocations: 198.6 kB / 16.68 MB, free: 5.969 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7472/0.7472, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 70.45 kB / 0.5808 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1545, allocations: 80.2 MB / 0.6592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006736/0.1613, allocations: 4.877 MB / 0.6639 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1586/0.3199, allocations: 150.7 MB / 0.8111 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.3213, allocations: 27.81 kB / 0.8112 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009032/0.3223, allocations: 341.5 kB / 0.8115 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.3242, allocations: 0.4935 MB / 0.812 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.3262, allocations: 0.8211 MB / 0.8128 GB, free: 124 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.404/0.7302, allocations: 1.344 MB / 0.8141 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.7314, allocations: 0.8128 MB / 0.8149 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007252/0.7322, allocations: 496.3 kB / 0.8154 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005569/0.7327, allocations: 0.5001 MB / 0.8158 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.7329, allocations: 118.3 kB / 0.816 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009256/0.7339, allocations: 487.7 kB / 0.8164 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003062/0.7342, allocations: 309.7 kB / 0.8167 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006913/0.7349, allocations: 0.5947 MB / 0.8173 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002809/0.7377, allocations: 1.77 MB / 0.819 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7377, allocations: 0.5312 kB / 0.819 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.434e-06/0.7377, allocations: 0.5938 kB / 0.819 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.53e-05/0.7378, allocations: 0.6875 kB / 0.819 GB, free: 3.211 MB / 0.6387 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.003304/0.7411, allocations: 1.617 MB / 0.8206 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.7411, allocations: 10.16 kB / 0.8206 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000184/0.7413, allocations: 148.5 kB / 0.8208 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.7424, allocations: 213.8 kB / 0.821 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.7439, allocations: 0.8864 MB / 0.8218 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.152e-05/0.744, allocations: 73.22 kB / 0.8219 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.7441, allocations: 92.97 kB / 0.822 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.7458, allocations: 0.9675 MB / 0.8229 GB, free: 1.734 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.7458, allocations: 3.984 kB / 0.8229 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.632e-05/0.7459, allocations: 43.36 kB / 0.823 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.746, allocations: 23.97 kB / 0.823 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.7479, allocations: 1.119 MB / 0.8241 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003796/0.7518, allocations: 2.662 MB / 0.8267 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.7529, allocations: 0.6997 MB / 0.8274 GB, free: 0.8984 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004306/0.7533, allocations: 274.8 kB / 0.8276 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.41e-05/0.7534, allocations: 33.27 kB / 0.8277 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007383/0.7542, allocations: 419.2 kB / 0.8281 GB, free: 0.8164 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=69): time 2.164e-06/0.7542, allocations: 0.8438 kB / 0.8281 GB, free: 0.8164 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69): time 0.002885/0.7571, allocations: 1.077 MB / 0.8291 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.7572, allocations: 195.9 kB / 0.8293 GB, free: 16.39 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009641/0.7582, allocations: 0.7462 MB / 0.83 GB, free: 16.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.949e-05/0.7583, allocations: 43.92 kB / 0.8301 GB, free: 16.24 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/0.7586, allocations: 0.4958 MB / 0.8306 GB, free: 16.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.7587, allocations: 238.4 kB / 0.8308 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.7589, allocations: 134.8 kB / 0.8309 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.7591, allocations: 326.8 kB / 0.8312 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004021/0.7595, allocations: 214.9 kB / 0.8314 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004677/0.76, allocations: 311.6 kB / 0.8317 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008986/0.7609, allocations: 0.5188 MB / 0.8322 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7609, allocations: 3.156 kB / 0.8322 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001707/0.7627, allocations: 0.7361 MB / 0.833 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.7627, allocations: 6.875 kB / 0.833 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7627, allocations: 0.8125 kB / 0.833 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005729/0.7633, allocations: 81.75 kB / 0.833 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004988/0.7638, allocations: 129.9 kB / 0.8332 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.7658, allocations: 1.651 MB / 0.8348 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006157/0.7664, allocations: 76.06 kB / 0.8349 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/0.7665, allocations: 29.03 kB / 0.8349 GB, free: 13.9 MB / 0.6544 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.0004151/0.7669, allocations: 267.2 kB / 0.8351 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.7671, allocations: 102 kB / 0.8352 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.7691, allocations: 0.9744 MB / 0.8362 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.7691, allocations: 10.38 kB / 0.8362 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.7691, allocations: 0 / 0.8362 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.7691, allocations: 6.625 kB / 0.8362 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009362/0.7701, allocations: 0.9432 MB / 0.8371 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7701, allocations: 0.9062 kB / 0.8371 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005001/0.7706, allocations: 135.4 kB / 0.8373 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004194/0.771, allocations: 78.89 kB / 0.8373 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/0.7711, allocations: 20.52 kB / 0.8374 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/0.7728, allocations: 1.673 MB / 0.839 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7728, allocations: 0 / 0.839 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.7745, allocations: 0.8466 MB / 0.8398 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/0.7748, allocations: 281 kB / 0.8401 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.775, allocations: 17.34 kB / 0.8401 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005359/0.7755, allocations: 48.44 kB / 0.8401 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.7756, allocations: 60.8 kB / 0.8402 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.558e-05/0.7757, allocations: 29.59 kB / 0.8402 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005753/0.7763, allocations: 0.5317 MB / 0.8407 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7763, allocations: 0 / 0.8407 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009137/0.7772, allocations: 309.3 kB / 0.841 GB, free: 11.53 MB / 0.6544 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.003/0.7802, allocations: 1.894 MB / 0.8429 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001283/0.7815, allocations: 0.7101 MB / 0.8436 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7815, allocations: 0 / 0.8436 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007297/0.7823, allocations: 486.9 kB / 0.844 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.7838, allocations: 469.1 kB / 0.8445 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.7939, allocations: 6.61 MB / 0.851 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/0.7946, allocations: 1.076 MB / 0.852 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009034/0.7955, allocations: 282 kB / 0.8523 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004734/0.7959, allocations: 444.3 kB / 0.8527 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of SimCode: time 5.11e-07/0.796, allocations: 0 / 0.8527 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04766/0.8436, allocations: 23.9 MB / 0.876 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.81, allocations: 7.766 kB / 0.876 GB, free: 1.25 MB / 0.6544 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)