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.00106/0.00106, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00117/0.00117, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.38/1.38, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7343/0.7343, allocations: 132.2 MB / 422.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 56.19 kB / 0.5012 GB, free: 9.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1972, allocations: 80.21 MB / 0.5795 GB, free: 9.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007027/0.2043, allocations: 4.865 MB / 0.5842 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5343/0.7386, allocations: 148.4 MB / 0.7292 GB, free: 2.613 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.7398, allocations: 23.09 kB / 0.7292 GB, free: 2.605 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008053/0.7407, allocations: 280.8 kB / 0.7295 GB, free: 2.453 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.742, allocations: 414.7 kB / 0.7299 GB, free: 2.227 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.7438, allocations: 0.7143 MB / 0.7306 GB, free: 1.84 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002099/0.7459, allocations: 1.256 MB / 0.7318 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.7475, allocations: 0.7847 MB / 0.7326 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009291/0.7484, allocations: 429.6 kB / 0.733 GB, free: 0.582 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005942/0.749, allocations: 477.5 kB / 0.7334 GB, free: 340 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.7492, allocations: 59.72 kB / 0.7335 GB, free: 340 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008075/0.75, allocations: 401.4 kB / 0.7339 GB, free: 240 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002446/0.7502, allocations: 247.3 kB / 0.7341 GB, free: 96 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00059/0.7508, allocations: 0.5378 MB / 0.7346 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002791/0.7536, allocations: 1.659 MB / 0.7363 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.7537, allocations: 0 / 0.7363 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7537, allocations: 0 / 0.7363 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.413e-05/0.7537, allocations: 4 kB / 0.7363 GB, free: 15.02 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.003516/0.7573, allocations: 1.581 MB / 0.7378 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.7573, allocations: 8.781 kB / 0.7378 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001826/0.7575, allocations: 148 kB / 0.738 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009483/0.7585, allocations: 201.6 kB / 0.7381 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.7598, allocations: 0.8728 MB / 0.739 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.467e-05/0.7599, allocations: 68.59 kB / 0.7391 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.76, allocations: 93.5 kB / 0.7392 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.7617, allocations: 0.9713 MB / 0.7401 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.7617, allocations: 0 / 0.7401 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-05/0.7618, allocations: 40.97 kB / 0.7401 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.7618, allocations: 26.67 kB / 0.7402 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.7635, allocations: 1.114 MB / 0.7413 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003955/0.7675, allocations: 2.693 MB / 0.7439 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.7687, allocations: 0.7037 MB / 0.7446 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/0.7691, allocations: 268 kB / 0.7448 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.936e-05/0.7692, allocations: 33.89 kB / 0.7449 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007263/0.7699, allocations: 420.9 kB / 0.7453 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=69): time 2.204e-06/0.7699, allocations: 0 / 0.7453 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69): time 0.002747/0.7727, allocations: 1.077 MB / 0.7463 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.352e-05/0.7728, allocations: 192.4 kB / 0.7465 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008653/0.7737, allocations: 0.7554 MB / 0.7472 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.247e-05/0.7737, allocations: 37.7 kB / 0.7473 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.7741, allocations: 499.9 kB / 0.7477 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.7743, allocations: 232.7 kB / 0.748 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.7745, allocations: 130.2 kB / 0.7481 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.7746, allocations: 330 kB / 0.7484 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004217/0.775, allocations: 213.2 kB / 0.7486 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/0.7755, allocations: 318.5 kB / 0.7489 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008946/0.7764, allocations: 0.5117 MB / 0.7494 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.7764, allocations: 4 kB / 0.7494 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001663/0.7781, allocations: 0.7311 MB / 0.7501 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.7781, allocations: 4 kB / 0.7501 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.7781, allocations: 3.75 kB / 0.7501 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006159/0.7788, allocations: 84.86 kB / 0.7502 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/0.7793, allocations: 131.8 kB / 0.7503 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.7812, allocations: 1.528 MB / 0.7518 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005757/0.7818, allocations: 75.42 kB / 0.7519 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-05/0.7819, allocations: 27.98 kB / 0.7519 GB, free: 2.102 MB / 0.5606 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.000406/0.7823, allocations: 272.5 kB / 0.7522 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.7824, allocations: 98.77 kB / 0.7523 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/0.7845, allocations: 0.9816 MB / 0.7532 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.7846, allocations: 8 kB / 0.7533 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.7846, allocations: 0 / 0.7533 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.7846, allocations: 7.984 kB / 0.7533 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009726/0.7856, allocations: 0.9366 MB / 0.7542 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.7856, allocations: 0 / 0.7542 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005342/0.7861, allocations: 139.8 kB / 0.7543 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005219/0.7866, allocations: 88.84 kB / 0.7544 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.753e-05/0.7867, allocations: 19.98 kB / 0.7544 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/0.7884, allocations: 1.551 MB / 0.7559 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7885, allocations: 8.062 kB / 0.7559 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.7902, allocations: 0.8372 MB / 0.7568 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/0.7905, allocations: 271.6 kB / 0.757 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.7906, allocations: 19.98 kB / 0.757 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005357/0.7912, allocations: 55.89 kB / 0.7571 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.7913, allocations: 56.91 kB / 0.7571 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-05/0.7914, allocations: 35.98 kB / 0.7572 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006174/0.792, allocations: 0.5302 MB / 0.7577 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.792, allocations: 0 / 0.7577 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007477/0.7928, allocations: 299.1 kB / 0.758 GB, free: 11.68 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 (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.003398/0.7962, allocations: 1.884 MB / 0.7598 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001516/0.7977, allocations: 0.7035 MB / 0.7605 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7977, allocations: 7.938 kB / 0.7605 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008324/0.7986, allocations: 492.9 kB / 0.761 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.8001, allocations: 401.9 kB / 0.7614 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/0.8151, allocations: 7.321 MB / 0.7685 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.8162, allocations: 1.082 MB / 0.7696 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001081/0.8173, allocations: 271.1 kB / 0.7698 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006426/0.818, allocations: 439.3 kB / 0.7702 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.818, allocations: 0 / 0.7702 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04459/0.8626, allocations: 22.87 MB / 0.7926 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003841/0.863, allocations: 282 kB / 0.7929 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/3.261, allocations: 0 / 0.7929 GB, free: 8.16 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/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)