Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.004484/0.004484, allocations: 96.56 kB / 15.73 MB, free: 5.996 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.001323/0.001323, allocations: 186.3 kB / 16.67 MB, free: 5.926 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8304/0.8304, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 63.91 kB / 0.5808 GB, free: 8.09 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3401, allocations: 80.2 MB / 0.6592 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006141/0.3463, allocations: 6.224 MB / 0.6652 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1769/0.5232, allocations: 153.2 MB / 0.8149 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.5247, allocations: 43.75 kB / 0.8149 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.5259, allocations: 309.1 kB / 0.8152 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00242/0.5283, allocations: 0.6556 MB / 0.8158 GB, free: 5.191 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002962/0.5313, allocations: 1.297 MB / 0.8171 GB, free: 3.91 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002584/0.5339, allocations: 2.325 MB / 0.8194 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.5353, allocations: 1.064 MB / 0.8204 GB, free: 484 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009389/0.5363, allocations: 0.7746 MB / 0.8212 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009445/0.5372, allocations: 0.7894 MB / 0.8219 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002714/0.5375, allocations: 184 kB / 0.8221 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.5392, allocations: 0.9481 MB / 0.823 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004769/0.5397, allocations: 494.4 kB / 0.8235 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008759/0.5406, allocations: 0.8976 MB / 0.8244 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003132/0.5437, allocations: 2.733 MB / 0.8271 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5437, allocations: 0 / 0.8271 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5437, allocations: 0 / 0.8271 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.5437, allocations: 0 / 0.8271 GB, free: 9.645 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.003714/0.5475, allocations: 2.229 MB / 0.8292 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.5475, allocations: 11.97 kB / 0.8293 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002536/0.5478, allocations: 202.7 kB / 0.8294 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.5497, allocations: 375.1 kB / 0.8298 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.5517, allocations: 1.248 MB / 0.831 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.185e-05/0.5518, allocations: 98.69 kB / 0.8311 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.552, allocations: 132 kB / 0.8312 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002828/0.5548, allocations: 1.52 MB / 0.8327 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.5549, allocations: 4 kB / 0.8327 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.555, allocations: 56 kB / 0.8328 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.6e-05/0.555, allocations: 35.94 kB / 0.8328 GB, free: 3.531 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003692/0.5587, allocations: 2.051 MB / 0.8348 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007027/0.5658, allocations: 4.407 MB / 0.8391 GB, free: 12.98 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00302/0.5688, allocations: 1.426 MB / 0.8405 GB, free: 11.54 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/0.57, allocations: 0.5359 MB / 0.841 GB, free: 11 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.5701, allocations: 61.19 kB / 0.8411 GB, free: 10.94 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001583/0.5717, allocations: 0.7959 MB / 0.8419 GB, free: 10.12 MB / 0.67 GB Notification: Performance of pre-optimization done (n=136): time 2.855e-06/0.5717, allocations: 0 / 0.8419 GB, free: 10.12 MB / 0.67 GB Notification: Performance of matching and sorting (n=136): time 0.006251/0.578, allocations: 2.109 MB / 0.8439 GB, free: 7.965 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002278/0.5782, allocations: 355.3 kB / 0.8443 GB, free: 7.539 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.5797, allocations: 1.075 MB / 0.8453 GB, free: 6.453 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.699e-05/0.5798, allocations: 49.7 kB / 0.8454 GB, free: 6.398 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005959/0.5804, allocations: 0.6274 MB / 0.846 GB, free: 5.766 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004167/0.5809, allocations: 468 kB / 0.8464 GB, free: 5.305 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004185/0.5813, allocations: 262.7 kB / 0.8467 GB, free: 5.043 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.5815, allocations: 357.8 kB / 0.847 GB, free: 4.688 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.5826, allocations: 434.4 kB / 0.8474 GB, free: 4.262 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.5839, allocations: 0.6407 MB / 0.8481 GB, free: 3.559 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/0.5863, allocations: 1.067 MB / 0.8491 GB, free: 2.465 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.5863, allocations: 4 kB / 0.8491 GB, free: 2.461 MB / 0.67 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003873/0.5902, allocations: 1.432 MB / 0.8505 GB, free: 1.012 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.5902, allocations: 4 kB / 0.8505 GB, free: 1.008 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.5902, allocations: 4 kB / 0.8505 GB, free: 1.004 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.5914, allocations: 165.8 kB / 0.8507 GB, free: 0.8359 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.5926, allocations: 267.6 kB / 0.8509 GB, free: 0.5742 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004606/0.5972, allocations: 3.288 MB / 0.8541 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.5983, allocations: 156.2 kB / 0.8543 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.5984, allocations: 51.97 kB / 0.8543 GB, free: 12.79 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 12 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition3,$whenCondition4,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006384/0.599, allocations: 390.2 kB / 0.8547 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002939/0.5993, allocations: 155.1 kB / 0.8549 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005095/0.6044, allocations: 1.964 MB / 0.8568 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.6045, allocations: 20 kB / 0.8568 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.6045, allocations: 0 / 0.8568 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.952e-05/0.6045, allocations: 7.969 kB / 0.8568 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.6064, allocations: 1.494 MB / 0.8583 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.6064, allocations: 3.938 kB / 0.8583 GB, free: 8.695 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.6076, allocations: 275.7 kB / 0.8585 GB, free: 8.426 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009341/0.6086, allocations: 145.5 kB / 0.8587 GB, free: 8.277 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.6087, allocations: 43.97 kB / 0.8587 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004256/0.6129, allocations: 3.344 MB / 0.862 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.6129, allocations: 0 / 0.862 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003953/0.6169, allocations: 1.639 MB / 0.8636 GB, free: 2.941 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006257/0.6175, allocations: 443.5 kB / 0.864 GB, free: 2.488 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.6178, allocations: 35.92 kB / 0.864 GB, free: 2.453 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.6188, allocations: 103.9 kB / 0.8641 GB, free: 2.352 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002364/0.6191, allocations: 117.8 kB / 0.8642 GB, free: 2.238 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.6192, allocations: 59.97 kB / 0.8643 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001097/0.6203, allocations: 0.7535 MB / 0.865 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6203, allocations: 0 / 0.865 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001137/0.6215, allocations: 466.9 kB / 0.8655 GB, free: 0.9648 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2737/0.8952, allocations: 2.705 MB / 0.8681 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003016/0.8982, allocations: 1.452 MB / 0.8695 GB, free: 191.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.8982, allocations: 1.906 kB / 0.8695 GB, free: 191.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001722/0.8999, allocations: 0.9553 MB / 0.8705 GB, free: 191.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/0.9021, allocations: 0.5643 MB / 0.871 GB, free: 191 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01921/0.9214, allocations: 10.45 MB / 0.8812 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006748/0.9221, allocations: 1.286 MB / 0.8825 GB, free: 185.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001451/0.9235, allocations: 0.4977 MB / 0.883 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000765/0.9243, allocations: 0.6583 MB / 0.8836 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of SimCode: time 6.01e-07/0.9243, allocations: 0 / 0.8836 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06567/0.99, allocations: 36.25 MB / 0.919 GB, free: 160.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/15.15, allocations: 19.59 kB / 0.919 GB, free: 160.6 MB / 0.6856 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)