Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="IDEAS_dev_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.00552/0.00552, allocations: 101.4 kB / 15.73 MB, free: 5.988 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.001185/0.001185, allocations: 189.4 kB / 16.67 MB, free: 5.914 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 4.133 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9217/0.9217, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 67.89 kB / 0.5851 GB, free: 3.809 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3356, allocations: 80.91 MB / 0.6641 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.00427/0.3399, allocations: 4.032 MB / 0.6681 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1444/0.4843, allocations: 150.4 MB / 0.815 GB, free: 6.477 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006497/0.485, allocations: 15.94 kB / 0.815 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005522/0.4856, allocations: 158.5 kB / 0.8152 GB, free: 6.305 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.4871, allocations: 468.8 kB / 0.8156 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.4887, allocations: 0.7175 MB / 0.8163 GB, free: 5.137 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001097/0.4898, allocations: 1.079 MB / 0.8174 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006903/0.4905, allocations: 0.5023 MB / 0.8179 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004585/0.491, allocations: 362.7 kB / 0.8182 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009037/0.4919, allocations: 366.3 kB / 0.8186 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.4921, allocations: 88 kB / 0.8186 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006595/0.4927, allocations: 387.6 kB / 0.819 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.493, allocations: 235.2 kB / 0.8192 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003675/0.4933, allocations: 429.7 kB / 0.8196 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.4947, allocations: 1.27 MB / 0.8209 GB, free: 448 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.4948, allocations: 0 / 0.8209 GB, free: 448 kB / 0.6387 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4948, allocations: 0 / 0.8209 GB, free: 448 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.002e-05/0.4948, allocations: 0 / 0.8209 GB, free: 448 kB / 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.001826/0.4966, allocations: 1.219 MB / 0.8221 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.4967, allocations: 11.97 kB / 0.8221 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/0.4968, allocations: 110.7 kB / 0.8222 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00027/0.4971, allocations: 104.3 kB / 0.8223 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009652/0.498, allocations: 0.6914 MB / 0.823 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.4981, allocations: 45.31 kB / 0.823 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.458e-05/0.4982, allocations: 60 kB / 0.8231 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.4992, allocations: 0.7087 MB / 0.8238 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.4992, allocations: 0 / 0.8238 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-05/0.4993, allocations: 28 kB / 0.8238 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.4993, allocations: 16 kB / 0.8238 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.5005, allocations: 0.922 MB / 0.8247 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002794/0.5033, allocations: 2.327 MB / 0.827 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008699/0.5042, allocations: 0.5854 MB / 0.8275 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.5045, allocations: 239.2 kB / 0.8278 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.701e-05/0.5046, allocations: 28.58 kB / 0.8278 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005056/0.5051, allocations: 342.4 kB / 0.8281 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 1.874e-06/0.5051, allocations: 0 / 0.8281 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.001174/0.5063, allocations: 0.7132 MB / 0.8288 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.998e-05/0.5064, allocations: 240 kB / 0.829 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006518/0.5071, allocations: 0.5939 MB / 0.8296 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/0.5071, allocations: 37.7 kB / 0.8297 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.5074, allocations: 349.1 kB / 0.83 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.5075, allocations: 202.2 kB / 0.8302 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.5077, allocations: 126.2 kB / 0.8303 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.5078, allocations: 382.7 kB / 0.8307 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.5081, allocations: 173 kB / 0.8308 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004011/0.5085, allocations: 288.4 kB / 0.8311 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000679/0.5092, allocations: 452.2 kB / 0.8315 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.5092, allocations: 0 / 0.8315 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009074/0.5101, allocations: 0.5571 MB / 0.8321 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.5101, allocations: 6.188 kB / 0.8321 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.5102, allocations: 4 kB / 0.8321 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5102, allocations: 8.156 kB / 0.8321 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.5106, allocations: 115.8 kB / 0.8322 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.5107, allocations: 4 kB / 0.8322 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004241/0.5111, allocations: 67.59 kB / 0.8323 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.5111, allocations: 23.98 kB / 0.8323 GB, free: 4.293 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.000273/0.5114, allocations: 245.5 kB / 0.8325 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.5115, allocations: 79.53 kB / 0.8326 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.5129, allocations: 0.7507 MB / 0.8334 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.5129, allocations: 8 kB / 0.8334 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5129, allocations: 0 / 0.8334 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.5129, allocations: 7.984 kB / 0.8334 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008934/0.5138, allocations: 0.8974 MB / 0.8342 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5139, allocations: 0 / 0.8342 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004131/0.5143, allocations: 119.8 kB / 0.8344 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.5143, allocations: 7.938 kB / 0.8344 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.005e-05/0.5143, allocations: 23.98 kB / 0.8344 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.5143, allocations: 8.016 kB / 0.8344 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5144, allocations: 7.938 kB / 0.8344 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009238/0.5153, allocations: 0.6305 MB / 0.835 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/0.5156, allocations: 248.4 kB / 0.8353 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.945e-05/0.5157, allocations: 15.95 kB / 0.8353 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004337/0.5161, allocations: 43.95 kB / 0.8353 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.49e-05/0.5162, allocations: 52.53 kB / 0.8354 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/0.5163, allocations: 27.98 kB / 0.8354 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004641/0.5167, allocations: 431 kB / 0.8358 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5167, allocations: 0 / 0.8358 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005677/0.5173, allocations: 243.3 kB / 0.836 GB, free: 376 kB / 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.002334/0.5197, allocations: 1.679 MB / 0.8377 GB, free: 14.84 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007446/0.5204, allocations: 476.8 kB / 0.8381 GB, free: 14.37 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5204, allocations: 4 kB / 0.8381 GB, free: 14.37 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003832/0.5208, allocations: 275.6 kB / 0.8384 GB, free: 14.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009922/0.5218, allocations: 267.3 kB / 0.8386 GB, free: 13.86 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006105/0.5279, allocations: 5.039 MB / 0.8436 GB, free: 8.703 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.5284, allocations: 0.9521 MB / 0.8445 GB, free: 7.723 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006069/0.529, allocations: 241.7 kB / 0.8447 GB, free: 7.484 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000403/0.5294, allocations: 299.2 kB / 0.845 GB, free: 7.191 MB / 0.67 GB Notification: Performance of SimCode: time 3.11e-07/0.5295, allocations: 0 / 0.845 GB, free: 7.191 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0368/0.5663, allocations: 16.87 MB / 0.8615 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.792/9.359, allocations: 64 / 0.8615 GB, free: 6.543 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1)