Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.DecemberToJanuary,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",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.007047/0.007047, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001157/0.001157, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.23/1.23, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7008/0.7008, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 55.91 kB / 0.5808 GB, free: 8.129 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3575, allocations: 80.21 MB / 0.6592 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.004649/0.3622, allocations: 4.017 MB / 0.6631 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1475/0.5097, allocations: 150.5 MB / 0.81 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008686/0.5106, allocations: 19.88 kB / 0.81 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005372/0.5112, allocations: 154.5 kB / 0.8102 GB, free: 11 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.5128, allocations: 459 kB / 0.8106 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.5144, allocations: 0.7181 MB / 0.8113 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0009952/0.5154, allocations: 1.079 MB / 0.8124 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000653/0.5161, allocations: 0.4994 MB / 0.8129 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003821/0.5165, allocations: 370.7 kB / 0.8132 GB, free: 7.891 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009905/0.5175, allocations: 366.2 kB / 0.8136 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 9.897e-05/0.5176, allocations: 88 kB / 0.8136 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006757/0.5183, allocations: 387.6 kB / 0.814 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.5185, allocations: 227.3 kB / 0.8142 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003471/0.5189, allocations: 433.7 kB / 0.8146 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.5202, allocations: 1.287 MB / 0.8159 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.5202, allocations: 0 / 0.8159 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5202, allocations: 0 / 0.8159 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.5202, allocations: 0 / 0.8159 GB, free: 5.129 MB / 0.6387 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.001576/0.5218, allocations: 1.207 MB / 0.8171 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.5218, allocations: 16.03 kB / 0.8171 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001186/0.5219, allocations: 106.7 kB / 0.8172 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002485/0.5222, allocations: 108.3 kB / 0.8173 GB, free: 3.637 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00094/0.5231, allocations: 0.6875 MB / 0.818 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.5232, allocations: 49.31 kB / 0.818 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.921e-05/0.5233, allocations: 63.94 kB / 0.8181 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000993/0.5243, allocations: 0.697 MB / 0.8188 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.5243, allocations: 0 / 0.8188 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.732e-05/0.5244, allocations: 28 kB / 0.8188 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.5244, allocations: 16 kB / 0.8188 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.5255, allocations: 0.9259 MB / 0.8197 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002753/0.5283, allocations: 2.323 MB / 0.822 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000835/0.5291, allocations: 0.597 MB / 0.8226 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/0.5294, allocations: 223.3 kB / 0.8228 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.822e-05/0.5295, allocations: 20.61 kB / 0.8228 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004955/0.53, allocations: 354.4 kB / 0.8231 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 1.743e-06/0.53, allocations: 0 / 0.8231 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.001135/0.5312, allocations: 0.7132 MB / 0.8238 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.5313, allocations: 239.9 kB / 0.8241 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006357/0.5319, allocations: 0.5939 MB / 0.8246 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.532, allocations: 37.7 kB / 0.8247 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.5322, allocations: 345.2 kB / 0.825 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.5324, allocations: 214.2 kB / 0.8252 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.5325, allocations: 122.2 kB / 0.8253 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5327, allocations: 386.7 kB / 0.8257 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.5329, allocations: 165 kB / 0.8258 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.5333, allocations: 284.4 kB / 0.8261 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006226/0.5339, allocations: 452.2 kB / 0.8266 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5339, allocations: 7.938 kB / 0.8266 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008217/0.5348, allocations: 0.5531 MB / 0.8271 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.5348, allocations: 8 kB / 0.8271 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.5348, allocations: 0 / 0.8271 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.5348, allocations: 4 kB / 0.8271 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/0.5353, allocations: 123.8 kB / 0.8272 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.5353, allocations: 4 kB / 0.8272 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.5357, allocations: 75.75 kB / 0.8273 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.5357, allocations: 23.98 kB / 0.8273 GB, free: 8.988 MB / 0.6544 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.0002615/0.536, allocations: 240.3 kB / 0.8276 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.5361, allocations: 75.52 kB / 0.8276 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.5374, allocations: 0.7507 MB / 0.8284 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.5374, allocations: 8 kB / 0.8284 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5374, allocations: 3.938 kB / 0.8284 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.5374, allocations: 3.984 kB / 0.8284 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000866/0.5383, allocations: 0.9052 MB / 0.8293 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5383, allocations: 0 / 0.8293 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003907/0.5387, allocations: 115.9 kB / 0.8294 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5387, allocations: 0 / 0.8294 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/0.5387, allocations: 23.98 kB / 0.8294 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.5387, allocations: 7.938 kB / 0.8294 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5387, allocations: 3.938 kB / 0.8294 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008922/0.5396, allocations: 0.6384 MB / 0.83 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/0.5399, allocations: 244.3 kB / 0.8303 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.164e-05/0.54, allocations: 16 kB / 0.8303 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004004/0.5404, allocations: 43.95 kB / 0.8303 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.973e-05/0.5405, allocations: 56.52 kB / 0.8304 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/0.5406, allocations: 23.98 kB / 0.8304 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004458/0.541, allocations: 435 kB / 0.8308 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.541, allocations: 0 / 0.8308 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005662/0.5416, allocations: 243.3 kB / 0.831 GB, free: 5.074 MB / 0.6544 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.00223/0.5438, allocations: 1.671 MB / 0.8327 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007108/0.5446, allocations: 484.9 kB / 0.8331 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5446, allocations: 0 / 0.8331 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003686/0.545, allocations: 279.6 kB / 0.8334 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00094/0.5459, allocations: 262.2 kB / 0.8337 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005865/0.5518, allocations: 5.048 MB / 0.8386 GB, free: 13.45 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.5523, allocations: 0.9488 MB / 0.8395 GB, free: 12.47 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005598/0.5528, allocations: 241.7 kB / 0.8397 GB, free: 12.23 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/0.5532, allocations: 299.3 kB / 0.84 GB, free: 11.95 MB / 0.67 GB Notification: Performance of SimCode: time 2.5e-07/0.5532, allocations: 0 / 0.84 GB, free: 11.95 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03646/0.5897, allocations: 16.86 MB / 0.8565 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.121/8.711, allocations: 12.58 kB / 0.8565 GB, free: 11.34 MB / 0.6856 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary_res.csv --start-time 3.09924e+07 --stop-time 3.186e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3600 IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1)