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.001037/0.001037, allocations: 108 kB / 15.6 MB, free: 132 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.00103/0.00103, allocations: 197.8 kB / 16.54 MB, free: 6.672 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.226/1.226, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7091/0.7091, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 72.78 kB / 0.5019 GB, free: 3.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.318, allocations: 80.19 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006267/0.3243, allocations: 6.233 MB / 0.5863 GB, free: 88 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1456/0.4699, allocations: 153.2 MB / 0.7359 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009489/0.4709, allocations: 35.81 kB / 0.7359 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006896/0.4716, allocations: 309.1 kB / 0.7362 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.4734, allocations: 0.651 MB / 0.7369 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00246/0.4758, allocations: 1.291 MB / 0.7381 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001707/0.4776, allocations: 2.309 MB / 0.7404 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.4787, allocations: 1.079 MB / 0.7414 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006974/0.4794, allocations: 0.763 MB / 0.7422 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007166/0.4802, allocations: 0.7972 MB / 0.743 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002337/0.4804, allocations: 188 kB / 0.7431 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.4817, allocations: 0.913 MB / 0.744 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003725/0.4821, allocations: 498.4 kB / 0.7445 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006508/0.4828, allocations: 0.8937 MB / 0.7454 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002262/0.485, allocations: 2.641 MB / 0.7479 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4851, allocations: 0 / 0.7479 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4851, allocations: 0 / 0.7479 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.4851, allocations: 0 / 0.7479 GB, free: 5.078 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.003184/0.4883, allocations: 2.166 MB / 0.7501 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.4883, allocations: 8.031 kB / 0.7501 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002026/0.4885, allocations: 202.7 kB / 0.7503 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.4903, allocations: 366 kB / 0.7506 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.4918, allocations: 1.2 MB / 0.7518 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.045e-05/0.4919, allocations: 94.69 kB / 0.7519 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.4921, allocations: 132 kB / 0.752 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/0.4944, allocations: 1.524 MB / 0.7535 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.4945, allocations: 4 kB / 0.7535 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.4946, allocations: 56 kB / 0.7535 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/0.4946, allocations: 32 kB / 0.7536 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003031/0.4977, allocations: 2.043 MB / 0.7556 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005964/0.5036, allocations: 4.448 MB / 0.7599 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00267/0.5063, allocations: 1.434 MB / 0.7613 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009622/0.5073, allocations: 0.5359 MB / 0.7618 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.5074, allocations: 61.17 kB / 0.7619 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001367/0.5088, allocations: 0.7929 MB / 0.7627 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=136): time 3.055e-06/0.5088, allocations: 0 / 0.7627 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of matching and sorting (n=136): time 0.005496/0.5143, allocations: 2.107 MB / 0.7647 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.5144, allocations: 355.3 kB / 0.7651 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.5156, allocations: 1.068 MB / 0.7661 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.729e-05/0.5157, allocations: 53.7 kB / 0.7662 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004258/0.5161, allocations: 0.6186 MB / 0.7668 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/0.5165, allocations: 453.4 kB / 0.7672 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00034/0.5168, allocations: 246.8 kB / 0.7674 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.5169, allocations: 353.9 kB / 0.7678 GB, free: 256 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009102/0.5178, allocations: 434.4 kB / 0.7682 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.519, allocations: 0.6445 MB / 0.7688 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/0.521, allocations: 1.067 MB / 0.7699 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.521, allocations: 0 / 0.7699 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003332/0.5243, allocations: 1.428 MB / 0.7713 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.5243, allocations: 6.031 kB / 0.7713 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.5244, allocations: 4 kB / 0.7713 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.5254, allocations: 165.8 kB / 0.7714 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.5265, allocations: 267.6 kB / 0.7717 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00369/0.5302, allocations: 3.299 MB / 0.7749 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.5312, allocations: 146.9 kB / 0.775 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.046e-05/0.5313, allocations: 51.97 kB / 0.7751 GB, free: 8.355 MB / 0.6075 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.0005362/0.5319, allocations: 394.2 kB / 0.7755 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.5321, allocations: 142.2 kB / 0.7756 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004482/0.5366, allocations: 1.984 MB / 0.7775 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.5366, allocations: 16 kB / 0.7776 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.5366, allocations: 0 / 0.7776 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.5367, allocations: 7.969 kB / 0.7776 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.5382, allocations: 1.476 MB / 0.779 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.5382, allocations: 3.938 kB / 0.779 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.5393, allocations: 279.6 kB / 0.7793 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008337/0.5401, allocations: 145.5 kB / 0.7794 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.98e-05/0.5402, allocations: 47.97 kB / 0.7795 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003357/0.5436, allocations: 3.347 MB / 0.7827 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5436, allocations: 0 / 0.7827 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003372/0.547, allocations: 1.615 MB / 0.7843 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000507/0.5475, allocations: 434.6 kB / 0.7847 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/0.5477, allocations: 35.92 kB / 0.7847 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.5487, allocations: 107.9 kB / 0.7849 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.5489, allocations: 117.8 kB / 0.785 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.549, allocations: 59.97 kB / 0.785 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008769/0.5499, allocations: 0.7535 MB / 0.7858 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5499, allocations: 0 / 0.7858 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001045/0.5509, allocations: 470.8 kB / 0.7862 GB, free: 12.55 MB / 0.6231 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.004727/0.5557, allocations: 2.704 MB / 0.7888 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003777/0.5595, allocations: 1.799 MB / 0.7906 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5595, allocations: 0 / 0.7906 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001615/0.5611, allocations: 0.9536 MB / 0.7915 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/0.563, allocations: 0.5636 MB / 0.7921 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01802/0.5811, allocations: 11.12 MB / 0.8029 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000744/0.5818, allocations: 1.286 MB / 0.8042 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001484/0.5833, allocations: 0.495 MB / 0.8047 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007988/0.5841, allocations: 0.6554 MB / 0.8053 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of SimCode: time 4.61e-07/0.5842, allocations: 0 / 0.8053 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2661/0.8503, allocations: 35.9 MB / 0.8404 GB, free: 208 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.59, allocations: 4.344 kB / 0.8404 GB, free: 208 MB / 0.6387 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)