Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",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.006108/0.006108, allocations: 99.86 kB / 15.73 MB, free: 6.055 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.001175/0.001175, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.207/1.207, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7314/0.7314, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 66.27 kB / 0.5808 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1307, allocations: 80.21 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005052/0.1358, allocations: 4.029 MB / 0.6631 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4494/0.5852, allocations: 150.4 MB / 0.81 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005919/0.5858, allocations: 20.88 kB / 0.81 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000455/0.5863, allocations: 156.1 kB / 0.8102 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.5875, allocations: 456.3 kB / 0.8106 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.5888, allocations: 0.7214 MB / 0.8113 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007922/0.5896, allocations: 1.086 MB / 0.8124 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006032/0.5903, allocations: 0.4997 MB / 0.8129 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003511/0.5906, allocations: 364.9 kB / 0.8132 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004005/0.591, allocations: 367.4 kB / 0.8136 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.5912, allocations: 84.91 kB / 0.8136 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005268/0.5917, allocations: 385.4 kB / 0.814 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.5919, allocations: 234.3 kB / 0.8142 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002798/0.5922, allocations: 425.6 kB / 0.8146 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.5932, allocations: 1.278 MB / 0.8159 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.5933, allocations: 8.312 kB / 0.8159 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.454e-06/0.5933, allocations: 0 / 0.8159 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.5933, allocations: 3.938 kB / 0.8159 GB, free: 10.15 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001553/0.5948, allocations: 1.213 MB / 0.8171 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.5949, allocations: 12.03 kB / 0.8171 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.595, allocations: 108.3 kB / 0.8172 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000253/0.5952, allocations: 105.6 kB / 0.8173 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000884/0.5961, allocations: 0.6841 MB / 0.818 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.5962, allocations: 52.44 kB / 0.818 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.666e-05/0.5963, allocations: 62.28 kB / 0.8181 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009195/0.5972, allocations: 0.698 MB / 0.8188 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.5972, allocations: 2.812 kB / 0.8188 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.425e-05/0.5973, allocations: 25.38 kB / 0.8188 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.5973, allocations: 18.22 kB / 0.8188 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.5984, allocations: 0.9269 MB / 0.8197 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002595/0.601, allocations: 2.327 MB / 0.822 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007895/0.6018, allocations: 0.5956 MB / 0.8226 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.6021, allocations: 219.8 kB / 0.8228 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-05/0.6021, allocations: 28.77 kB / 0.8228 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004886/0.6026, allocations: 353.3 kB / 0.8231 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 1.834e-06/0.6026, allocations: 1.875 kB / 0.8231 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.0011/0.6037, allocations: 0.7108 MB / 0.8238 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.6038, allocations: 236.6 kB / 0.8241 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006021/0.6045, allocations: 0.5946 MB / 0.8246 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.452e-05/0.6045, allocations: 38.61 kB / 0.8247 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.6047, allocations: 343.2 kB / 0.825 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.6049, allocations: 213 kB / 0.8252 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001531/0.6051, allocations: 126.2 kB / 0.8253 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6052, allocations: 378 kB / 0.8257 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.6055, allocations: 170.8 kB / 0.8258 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.6058, allocations: 289.2 kB / 0.8261 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005982/0.6064, allocations: 446.8 kB / 0.8265 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6064, allocations: 1.938 kB / 0.8265 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008266/0.6073, allocations: 0.5578 MB / 0.8271 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.6073, allocations: 5.031 kB / 0.8271 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6073, allocations: 1.812 kB / 0.8271 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.6073, allocations: 2.844 kB / 0.8271 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004197/0.6077, allocations: 122.1 kB / 0.8272 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.6078, allocations: 5.125 kB / 0.8272 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003918/0.6082, allocations: 71.56 kB / 0.8273 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/0.6082, allocations: 31.78 kB / 0.8273 GB, free: 2.578 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002801/0.6085, allocations: 243.3 kB / 0.8276 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.6086, allocations: 75.72 kB / 0.8276 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.6098, allocations: 0.7483 MB / 0.8284 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.6098, allocations: 7.562 kB / 0.8284 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6099, allocations: 0 / 0.8284 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.6099, allocations: 6.078 kB / 0.8284 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008328/0.6107, allocations: 0.9046 MB / 0.8293 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.6107, allocations: 2.75 kB / 0.8293 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003785/0.6111, allocations: 121.9 kB / 0.8294 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/0.6111, allocations: 2.812 kB / 0.8294 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.6112, allocations: 23.36 kB / 0.8294 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.6112, allocations: 6.656 kB / 0.8294 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6112, allocations: 2.531 kB / 0.8294 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00083/0.612, allocations: 0.6371 MB / 0.83 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/0.6123, allocations: 243.7 kB / 0.8303 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.545e-05/0.6124, allocations: 18.09 kB / 0.8303 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004048/0.6128, allocations: 44.42 kB / 0.8303 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/0.6129, allocations: 50.94 kB / 0.8304 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.6129, allocations: 25.89 kB / 0.8304 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004291/0.6134, allocations: 432.5 kB / 0.8308 GB, free: 268 kB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6134, allocations: 4 kB / 0.8308 GB, free: 264 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005405/0.6139, allocations: 245.4 kB / 0.831 GB, free: 184 kB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002221/0.6162, allocations: 1.681 MB / 0.8327 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006589/0.6168, allocations: 482.6 kB / 0.8331 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6168, allocations: 2.031 kB / 0.8331 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003444/0.6172, allocations: 283 kB / 0.8334 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009313/0.6181, allocations: 263.4 kB / 0.8337 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00569/0.6238, allocations: 5.04 MB / 0.8386 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.6243, allocations: 0.9492 MB / 0.8395 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000556/0.6248, allocations: 240.8 kB / 0.8397 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003685/0.6252, allocations: 310.4 kB / 0.84 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.6252, allocations: 3.938 kB / 0.84 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03272/0.658, allocations: 16.87 MB / 0.8565 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/8.502, allocations: 8.062 kB / 0.8565 GB, free: 10.37 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.csv --start-time 0 --stop-time 9.4608e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 37843.2 IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1)