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.001708/0.001708, 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.002171/0.002171, allocations: 198.5 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 2.459/2.459, 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-master/package.mo): time 1.603/1.603, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 65.34 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2359, allocations: 80.91 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.00984/0.2458, allocations: 4.021 MB / 0.5884 GB, free: 440 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.7364/0.9823, allocations: 150.4 MB / 0.7353 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000877/0.9832, allocations: 18.34 kB / 0.7353 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009004/0.9841, allocations: 162 kB / 0.7355 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002702/0.9869, allocations: 455.8 kB / 0.7359 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003334/0.9902, allocations: 0.7094 MB / 0.7366 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002063/0.9923, allocations: 1.076 MB / 0.7376 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.9937, allocations: 0.497 MB / 0.7381 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008752/0.9946, allocations: 358.9 kB / 0.7385 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0197/1.014, allocations: 372 kB / 0.7388 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003925/1.015, allocations: 82.97 kB / 0.7389 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/1.016, allocations: 365.8 kB / 0.7393 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004083/1.017, allocations: 228.2 kB / 0.7395 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008285/1.017, allocations: 429.8 kB / 0.7399 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002558/1.02, allocations: 1.233 MB / 0.7411 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/1.02, allocations: 1.312 kB / 0.7411 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.104e-06/1.02, allocations: 0 / 0.7411 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.686e-05/1.02, allocations: 0 / 0.7411 GB, free: 9.184 MB / 0.5606 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.007779/1.028, allocations: 1.184 MB / 0.7422 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/1.028, allocations: 10.12 kB / 0.7423 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002451/1.028, allocations: 109.8 kB / 0.7424 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005845/1.029, allocations: 105.8 kB / 0.7425 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006047/1.035, allocations: 0.6564 MB / 0.7431 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-05/1.035, allocations: 45.81 kB / 0.7431 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/1.035, allocations: 59.88 kB / 0.7432 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006317/1.042, allocations: 0.7095 MB / 0.7439 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/1.042, allocations: 5.312 kB / 0.7439 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/1.042, allocations: 26.88 kB / 0.7439 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/1.042, allocations: 16.5 kB / 0.7439 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/1.044, allocations: 0.9234 MB / 0.7448 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01004/1.054, allocations: 2.35 MB / 0.7471 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/1.056, allocations: 0.5949 MB / 0.7477 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000601/1.057, allocations: 223.2 kB / 0.7479 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/1.057, allocations: 30.8 kB / 0.748 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009165/1.066, allocations: 352.8 kB / 0.7483 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 5.09e-06/1.066, allocations: 0 / 0.7483 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.002419/1.068, allocations: 0.7074 MB / 0.749 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001774/1.069, allocations: 245 kB / 0.7492 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/1.07, allocations: 0.5893 MB / 0.7498 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.943e-05/1.07, allocations: 37.98 kB / 0.7498 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004672/1.07, allocations: 340.2 kB / 0.7502 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/1.071, allocations: 194.2 kB / 0.7503 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003172/1.071, allocations: 127.3 kB / 0.7505 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002529/1.071, allocations: 378.7 kB / 0.7508 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005706/1.072, allocations: 169 kB / 0.751 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006838/1.073, allocations: 292.3 kB / 0.7513 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005164/1.078, allocations: 451.9 kB / 0.7517 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/1.078, allocations: 0 / 0.7517 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001874/1.08, allocations: 0.5528 MB / 0.7522 GB, free: 444 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/1.08, allocations: 4 kB / 0.7522 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1.08, allocations: 0 / 0.7522 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/1.08, allocations: 4.156 kB / 0.7522 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009611/1.081, allocations: 127.8 kB / 0.7524 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/1.081, allocations: 4 kB / 0.7524 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005/1.086, allocations: 67.48 kB / 0.7524 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.718e-05/1.086, allocations: 20 kB / 0.7525 GB, free: 216 kB / 0.5606 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.0006797/1.087, allocations: 245.6 kB / 0.7527 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/1.087, allocations: 79.06 kB / 0.7528 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006637/1.094, allocations: 0.745 MB / 0.7535 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/1.094, allocations: 8 kB / 0.7535 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.016e-06/1.094, allocations: 0 / 0.7535 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/1.094, allocations: 11.97 kB / 0.7535 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00196/1.096, allocations: 0.8973 MB / 0.7544 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/1.096, allocations: 0 / 0.7544 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009249/1.097, allocations: 127.8 kB / 0.7545 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/1.097, allocations: 4 kB / 0.7545 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-05/1.097, allocations: 19.98 kB / 0.7545 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/1.097, allocations: 4 kB / 0.7545 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.097, allocations: 0 / 0.7545 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/1.099, allocations: 0.6379 MB / 0.7552 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004829/1.099, allocations: 239.9 kB / 0.7554 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/1.099, allocations: 16 kB / 0.7554 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008742/1.1, allocations: 43.95 kB / 0.7554 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/1.101, allocations: 56.52 kB / 0.7555 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.778e-05/1.101, allocations: 27.94 kB / 0.7555 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005143/1.106, allocations: 431 kB / 0.7559 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.61e-07/1.106, allocations: 0 / 0.7559 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001324/1.107, allocations: 251.4 kB / 0.7562 GB, free: 12.3 MB / 0.5762 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.008711/1.116, allocations: 1.667 MB / 0.7578 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006625/1.123, allocations: 0.6179 MB / 0.7584 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.123, allocations: 0 / 0.7584 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008316/1.123, allocations: 279.6 kB / 0.7587 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006225/1.13, allocations: 269.5 kB / 0.7589 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/1.142, allocations: 5.167 MB / 0.764 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000983/1.143, allocations: 0.9536 MB / 0.7649 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001526/1.145, allocations: 237.8 kB / 0.7651 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000751/1.146, allocations: 307.2 kB / 0.7654 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/1.146, allocations: 3.938 kB / 0.7654 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2087/1.354, allocations: 16.69 MB / 0.7817 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.19/19.55, allocations: 0 / 0.7817 GB, free: 2.469 MB / 0.5919 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)