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.001005/0.001005, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001041/0.001041, allocations: 191.3 kB / 16.25 MB, free: 6.633 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.304/1.304, allocations: 222.9 MB / 239.9 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7863/0.7864, allocations: 132.2 MB / 422.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 68.86 kB / 0.5014 GB, free: 4.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4465, allocations: 80.2 MB / 0.5797 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006364/0.4529, allocations: 4.878 MB / 0.5844 GB, free: 1.109 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1552/0.6081, allocations: 148.5 MB / 0.7295 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.6092, allocations: 27.81 kB / 0.7295 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007156/0.6099, allocations: 298.2 kB / 0.7298 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.6114, allocations: 425.3 kB / 0.7302 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.6132, allocations: 0.7376 MB / 0.7309 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001276/0.6144, allocations: 1.341 MB / 0.7322 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.6155, allocations: 0.8137 MB / 0.733 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004937/0.616, allocations: 486 kB / 0.7335 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000453/0.6165, allocations: 0.5092 MB / 0.734 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.6166, allocations: 120 kB / 0.7341 GB, free: 3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007123/0.6173, allocations: 459.6 kB / 0.7345 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.6176, allocations: 303 kB / 0.7348 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004125/0.618, allocations: 0.5982 MB / 0.7354 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.6195, allocations: 1.717 MB / 0.7371 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.6195, allocations: 3.984 kB / 0.7371 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6195, allocations: 3.938 kB / 0.7371 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.6196, allocations: 0 / 0.7371 GB, free: 15.92 MB / 0.5762 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.002244/0.6218, allocations: 1.578 MB / 0.7386 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.6219, allocations: 8.031 kB / 0.7386 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001455/0.622, allocations: 148.1 kB / 0.7388 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009166/0.6229, allocations: 211.1 kB / 0.739 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.624, allocations: 0.8554 MB / 0.7398 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.462e-05/0.6241, allocations: 70 kB / 0.7399 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.6242, allocations: 91.94 kB / 0.74 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.6257, allocations: 0.9692 MB / 0.7409 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.6258, allocations: 0 / 0.7409 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-05/0.6259, allocations: 40 kB / 0.7409 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.6259, allocations: 20 kB / 0.741 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.6275, allocations: 1.124 MB / 0.7421 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003717/0.6313, allocations: 2.686 MB / 0.7447 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.6324, allocations: 0.702 MB / 0.7454 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004649/0.6329, allocations: 278.4 kB / 0.7456 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.949e-05/0.633, allocations: 24.59 kB / 0.7457 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007483/0.6337, allocations: 425.6 kB / 0.7461 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=69): time 2.174e-06/0.6338, allocations: 0 / 0.7461 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.00272/0.6365, allocations: 1.078 MB / 0.7471 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.276e-05/0.6366, allocations: 192.5 kB / 0.7473 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008217/0.6374, allocations: 0.7554 MB / 0.748 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.403e-05/0.6375, allocations: 37.7 kB / 0.7481 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/0.6378, allocations: 0.4921 MB / 0.7486 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.638, allocations: 232.6 kB / 0.7488 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.6382, allocations: 130.2 kB / 0.7489 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.6383, allocations: 326 kB / 0.7492 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/0.6387, allocations: 213.2 kB / 0.7494 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004859/0.6392, allocations: 314.8 kB / 0.7497 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008818/0.6401, allocations: 0.5233 MB / 0.7502 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.6401, allocations: 0 / 0.7502 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001636/0.6417, allocations: 0.7273 MB / 0.7509 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.6418, allocations: 4 kB / 0.7509 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.6418, allocations: 3.938 kB / 0.7509 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/0.6424, allocations: 80.88 kB / 0.751 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00054/0.6429, allocations: 135.8 kB / 0.7511 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.6449, allocations: 1.638 MB / 0.7527 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005596/0.6455, allocations: 75.67 kB / 0.7528 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/0.6456, allocations: 27.98 kB / 0.7528 GB, free: 15.23 MB / 0.5919 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.0004004/0.646, allocations: 277.6 kB / 0.7531 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.6462, allocations: 98.72 kB / 0.7532 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.6483, allocations: 0.9723 MB / 0.7542 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.6483, allocations: 8 kB / 0.7542 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.654e-06/0.6483, allocations: 0 / 0.7542 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.6483, allocations: 7.984 kB / 0.7542 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.6494, allocations: 0.9425 MB / 0.7551 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.6494, allocations: 0 / 0.7551 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005317/0.6499, allocations: 135.8 kB / 0.7552 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004557/0.6504, allocations: 72.78 kB / 0.7553 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.502e-05/0.6505, allocations: 23.98 kB / 0.7553 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.6523, allocations: 1.67 MB / 0.7569 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6523, allocations: 0 / 0.7569 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.654, allocations: 0.8451 MB / 0.7578 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.6543, allocations: 275.6 kB / 0.758 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.6544, allocations: 16 kB / 0.758 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005269/0.655, allocations: 59.88 kB / 0.7581 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.6551, allocations: 52.92 kB / 0.7582 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-05/0.6551, allocations: 31.98 kB / 0.7582 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005982/0.6558, allocations: 0.5263 MB / 0.7587 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6558, allocations: 0 / 0.7587 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007188/0.6565, allocations: 307 kB / 0.759 GB, free: 8.676 MB / 0.5919 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.003113/0.6596, allocations: 1.896 MB / 0.7608 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001911/0.6615, allocations: 0.8799 MB / 0.7617 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.6616, allocations: 4.188 kB / 0.7617 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007856/0.6623, allocations: 480.3 kB / 0.7622 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.6639, allocations: 457.2 kB / 0.7626 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/0.6758, allocations: 7.331 MB / 0.7698 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005534/0.6764, allocations: 1.078 MB / 0.7708 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008363/0.6772, allocations: 267.1 kB / 0.7711 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005278/0.6778, allocations: 439.3 kB / 0.7715 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.6778, allocations: 4 kB / 0.7715 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5626/1.24, allocations: 23.45 MB / 0.7944 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003346/1.241, allocations: 279 kB / 0.7947 GB, free: 4.363 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.742/3.983, allocations: 3.938 kB / 0.7947 GB, free: 4.359 MB / 0.6231 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)