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.005883/0.005883, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.001356/0.001356, allocations: 191.9 kB / 16.67 MB, free: 5.48 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8289/0.8289, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 65.75 kB / 0.5808 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1651, allocations: 80.22 MB / 0.6592 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007093/0.1723, allocations: 4.877 MB / 0.6639 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5132/0.6855, allocations: 150.7 MB / 0.8111 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008697/0.6864, allocations: 25.91 kB / 0.8112 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007084/0.6872, allocations: 343 kB / 0.8115 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.6886, allocations: 497.4 kB / 0.812 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.6904, allocations: 0.8177 MB / 0.8128 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001456/0.6919, allocations: 1.353 MB / 0.8141 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.693, allocations: 0.8109 MB / 0.8149 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006641/0.6937, allocations: 485.8 kB / 0.8153 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005527/0.6942, allocations: 0.5097 MB / 0.8158 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.6944, allocations: 120.3 kB / 0.8159 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008199/0.6952, allocations: 483.6 kB / 0.8164 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000243/0.6955, allocations: 314.1 kB / 0.8167 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004737/0.696, allocations: 0.5968 MB / 0.8173 GB, free: 10 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.698, allocations: 1.77 MB / 0.819 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.698, allocations: 0 / 0.819 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.733e-06/0.698, allocations: 0 / 0.819 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.258e-05/0.6981, allocations: 3.984 kB / 0.819 GB, free: 9.156 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.002339/0.7004, allocations: 1.616 MB / 0.8206 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.7005, allocations: 10.12 kB / 0.8206 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001726/0.7006, allocations: 147.6 kB / 0.8207 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008905/0.7015, allocations: 216.7 kB / 0.821 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.7027, allocations: 0.8885 MB / 0.8218 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.944e-05/0.7028, allocations: 67.97 kB / 0.8219 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.7029, allocations: 96.02 kB / 0.822 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.7045, allocations: 0.9659 MB / 0.8229 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.7045, allocations: 3.75 kB / 0.8229 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.234e-05/0.7046, allocations: 42.72 kB / 0.823 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.7046, allocations: 22.75 kB / 0.823 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.7063, allocations: 1.127 MB / 0.8241 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003934/0.7102, allocations: 2.658 MB / 0.8267 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.7115, allocations: 0.7 MB / 0.8274 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004795/0.712, allocations: 271.1 kB / 0.8276 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.094e-05/0.7121, allocations: 31.12 kB / 0.8277 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007824/0.7129, allocations: 416.2 kB / 0.828 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=69): time 2.434e-06/0.7129, allocations: 0 / 0.828 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69): time 0.002809/0.7157, allocations: 1.083 MB / 0.8291 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.7158, allocations: 192.2 kB / 0.8293 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009734/0.7168, allocations: 0.7484 MB / 0.83 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.617e-05/0.7169, allocations: 38.52 kB / 0.8301 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004926/0.7174, allocations: 0.5016 MB / 0.8305 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.7176, allocations: 244.1 kB / 0.8308 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.7178, allocations: 127 kB / 0.8309 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.718, allocations: 329.7 kB / 0.8312 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/0.7184, allocations: 214.3 kB / 0.8314 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005276/0.7189, allocations: 317.3 kB / 0.8317 GB, free: 292 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009205/0.7199, allocations: 0.5174 MB / 0.8322 GB, free: 4 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.7199, allocations: 4 kB / 0.8322 GB, free: 0 / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001924/0.7218, allocations: 0.7363 MB / 0.833 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.7219, allocations: 4.75 kB / 0.833 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.7219, allocations: 2.562 kB / 0.833 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006097/0.7225, allocations: 87.77 kB / 0.833 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.723, allocations: 129.9 kB / 0.8332 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/0.7253, allocations: 1.651 MB / 0.8348 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007192/0.7261, allocations: 71.55 kB / 0.8348 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/0.7261, allocations: 25.89 kB / 0.8349 GB, free: 13.89 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.0005047/0.7266, allocations: 272.7 kB / 0.8351 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.7268, allocations: 103.9 kB / 0.8352 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.729, allocations: 0.9837 MB / 0.8362 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.729, allocations: 7.781 kB / 0.8362 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.729, allocations: 0 / 0.8362 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.729, allocations: 3.984 kB / 0.8362 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.7302, allocations: 0.9395 MB / 0.8371 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.7302, allocations: 3.062 kB / 0.8371 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000503/0.7307, allocations: 134.4 kB / 0.8373 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004413/0.7311, allocations: 70.73 kB / 0.8373 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-05/0.7312, allocations: 23.55 kB / 0.8373 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/0.7332, allocations: 1.681 MB / 0.839 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.7332, allocations: 144 / 0.839 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.735, allocations: 0.8487 MB / 0.8398 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000381/0.7354, allocations: 280.3 kB / 0.8401 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.7355, allocations: 17 kB / 0.8401 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005117/0.7361, allocations: 56.81 kB / 0.8401 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.7362, allocations: 56.67 kB / 0.8402 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-05/0.7363, allocations: 27.7 kB / 0.8402 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007144/0.737, allocations: 0.5271 MB / 0.8407 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.737, allocations: 2.125 kB / 0.8407 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008192/0.7378, allocations: 312.1 kB / 0.841 GB, free: 9.461 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.003848/0.7417, allocations: 1.886 MB / 0.8429 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001504/0.7432, allocations: 0.708 MB / 0.8436 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/0.7432, allocations: 7.625 kB / 0.8436 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008559/0.7441, allocations: 486.6 kB / 0.844 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/0.746, allocations: 468.8 kB / 0.8445 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/0.7586, allocations: 6.602 MB / 0.8509 GB, free: 460 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007378/0.7593, allocations: 1.082 MB / 0.852 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009713/0.7603, allocations: 271.1 kB / 0.8523 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007005/0.761, allocations: 443.3 kB / 0.8527 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of SimCode: time 7.91e-07/0.7611, allocations: 0 / 0.8527 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0614/0.8225, allocations: 23.91 MB / 0.876 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/14.1, allocations: 23.94 kB / 0.876 GB, free: 6.957 MB / 0.6387 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)