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.001705/0.001705, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 194.4 kB / 16.67 MB, free: 6.57 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9776/0.9776, allocations: 135.6 MB / 426.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 63.89 kB / 0.5857 GB, free: 3.242 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3958, allocations: 81.02 MB / 0.6648 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005554/0.4014, allocations: 4.876 MB / 0.6696 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1829/0.5843, allocations: 150.7 MB / 0.8168 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.5854, allocations: 27.81 kB / 0.8168 GB, free: 4.703 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.5866, allocations: 333.6 kB / 0.8172 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002159/0.5888, allocations: 0.4884 MB / 0.8176 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002286/0.5911, allocations: 0.8217 MB / 0.8184 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002038/0.5931, allocations: 1.352 MB / 0.8198 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.5945, allocations: 0.8214 MB / 0.8206 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007944/0.5954, allocations: 478.2 kB / 0.821 GB, free: 396 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007831/0.5962, allocations: 0.5014 MB / 0.8215 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002759/0.5964, allocations: 123.9 kB / 0.8216 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.5976, allocations: 491.5 kB / 0.8221 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003607/0.598, allocations: 306.9 kB / 0.8224 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008036/0.5988, allocations: 0.5982 MB / 0.823 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002873/0.6017, allocations: 1.771 MB / 0.8247 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.6017, allocations: 0 / 0.8247 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6017, allocations: 3.938 kB / 0.8247 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.027e-05/0.6018, allocations: 0 / 0.8247 GB, free: 12.6 MB / 0.6544 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.003659/0.6054, allocations: 1.616 MB / 0.8263 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.6055, allocations: 12.03 kB / 0.8263 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002851/0.6058, allocations: 144.1 kB / 0.8264 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.6069, allocations: 215.9 kB / 0.8266 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.6088, allocations: 0.8913 MB / 0.8275 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.089e-05/0.6089, allocations: 73.94 kB / 0.8276 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.609, allocations: 92 kB / 0.8277 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.6108, allocations: 0.9653 MB / 0.8286 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.6109, allocations: 0 / 0.8286 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.775e-05/0.611, allocations: 40 kB / 0.8286 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/0.611, allocations: 24 kB / 0.8287 GB, free: 8.391 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.613, allocations: 1.124 MB / 0.8298 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004725/0.6177, allocations: 2.66 MB / 0.8324 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.6192, allocations: 0.7026 MB / 0.833 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005102/0.6197, allocations: 270.4 kB / 0.8333 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.136e-05/0.6198, allocations: 40.52 kB / 0.8333 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007825/0.6206, allocations: 418 kB / 0.8337 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=69): time 2.544e-06/0.6206, allocations: 0 / 0.8337 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69): time 0.003076/0.6237, allocations: 1.078 MB / 0.8348 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.6238, allocations: 188.5 kB / 0.835 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.625, allocations: 0.7515 MB / 0.8357 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.125e-05/0.6251, allocations: 37.7 kB / 0.8357 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005195/0.6256, allocations: 0.5007 MB / 0.8362 GB, free: 468 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.6258, allocations: 238 kB / 0.8365 GB, free: 228 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/0.626, allocations: 130.2 kB / 0.8366 GB, free: 92 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.6262, allocations: 330 kB / 0.8369 GB, free: 15.76 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004961/0.6267, allocations: 213.2 kB / 0.8371 GB, free: 15.55 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005848/0.6273, allocations: 318.8 kB / 0.8374 GB, free: 15.21 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.6284, allocations: 0.5233 MB / 0.8379 GB, free: 14.68 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.6284, allocations: 0 / 0.8379 GB, free: 14.68 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00202/0.6304, allocations: 0.7317 MB / 0.8386 GB, free: 13.94 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.6305, allocations: 4 kB / 0.8386 GB, free: 13.94 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.6305, allocations: 0 / 0.8386 GB, free: 13.94 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006031/0.6311, allocations: 88.84 kB / 0.8387 GB, free: 13.85 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005528/0.6317, allocations: 127.8 kB / 0.8388 GB, free: 13.72 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/0.634, allocations: 1.65 MB / 0.8405 GB, free: 11.93 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007459/0.6348, allocations: 67.62 kB / 0.8405 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.265e-05/0.6349, allocations: 27.92 kB / 0.8405 GB, free: 11.84 MB / 0.67 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.0005163/0.6354, allocations: 279.9 kB / 0.8408 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.6356, allocations: 107.3 kB / 0.8409 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.6378, allocations: 0.9803 MB / 0.8419 GB, free: 10.46 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.6378, allocations: 8 kB / 0.8419 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.6378, allocations: 0 / 0.8419 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.6379, allocations: 3.984 kB / 0.8419 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.639, allocations: 0.935 MB / 0.8428 GB, free: 9.465 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.6391, allocations: 0 / 0.8428 GB, free: 9.465 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005477/0.6396, allocations: 135.8 kB / 0.8429 GB, free: 9.332 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004658/0.6401, allocations: 72.78 kB / 0.843 GB, free: 9.258 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.266e-05/0.6402, allocations: 23.98 kB / 0.843 GB, free: 9.234 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002171/0.6423, allocations: 1.677 MB / 0.8447 GB, free: 7.406 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6423, allocations: 0 / 0.8447 GB, free: 7.406 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.6443, allocations: 0.8419 MB / 0.8455 GB, free: 6.543 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003993/0.6447, allocations: 280.1 kB / 0.8457 GB, free: 6.25 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.6448, allocations: 20 kB / 0.8458 GB, free: 6.23 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000522/0.6454, allocations: 55.94 kB / 0.8458 GB, free: 6.176 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.6455, allocations: 56.92 kB / 0.8459 GB, free: 6.121 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-05/0.6456, allocations: 27.98 kB / 0.8459 GB, free: 6.094 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007121/0.6463, allocations: 0.5263 MB / 0.8464 GB, free: 5.57 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6463, allocations: 0 / 0.8464 GB, free: 5.57 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008087/0.6471, allocations: 319 kB / 0.8467 GB, free: 5.258 MB / 0.67 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.003976/0.6511, allocations: 1.891 MB / 0.8486 GB, free: 3.52 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00155/0.6527, allocations: 0.7082 MB / 0.8493 GB, free: 2.801 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.6527, allocations: 4.188 kB / 0.8493 GB, free: 2.797 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008732/0.6536, allocations: 480.2 kB / 0.8497 GB, free: 2.312 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/0.6553, allocations: 469.9 kB / 0.8502 GB, free: 1.895 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.6673, allocations: 6.609 MB / 0.8566 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007705/0.6681, allocations: 1.078 MB / 0.8577 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008867/0.669, allocations: 267.1 kB / 0.8579 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006217/0.6696, allocations: 447.2 kB / 0.8583 GB, free: 9.32 MB / 0.6856 GB Notification: Performance of SimCode: time 5.91e-07/0.6696, allocations: 0 / 0.8583 GB, free: 9.32 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4223/1.092, allocations: 23.91 MB / 0.8817 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.59, allocations: 9.953 kB / 0.8817 GB, free: 185.4 MB / 0.6856 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)