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.005399/0.005399, allocations: 99.92 kB / 15.73 MB, free: 6.004 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.001562/0.001561, allocations: 193 kB / 16.67 MB, free: 5.934 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8476/0.8476, allocations: 135.6 MB / 426.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 70.02 kB / 0.5857 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1371, allocations: 81.01 MB / 0.6648 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.005958/0.1431, allocations: 4.032 MB / 0.6688 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4531/0.5963, allocations: 150.4 MB / 0.8157 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005511/0.5968, allocations: 18.88 kB / 0.8157 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004511/0.5973, allocations: 161.7 kB / 0.8158 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.5985, allocations: 459.3 kB / 0.8163 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.6, allocations: 0.7122 MB / 0.817 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008768/0.6009, allocations: 1.082 MB / 0.818 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006022/0.6015, allocations: 0.5 MB / 0.8185 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003571/0.6018, allocations: 362.1 kB / 0.8189 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004216/0.6023, allocations: 371 kB / 0.8192 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.867e-05/0.6024, allocations: 82.91 kB / 0.8193 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005837/0.603, allocations: 390.8 kB / 0.8197 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.6032, allocations: 228 kB / 0.8199 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003118/0.6035, allocations: 431.5 kB / 0.8203 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.6048, allocations: 1.277 MB / 0.8216 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.6048, allocations: 0 / 0.8216 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6049, allocations: 0 / 0.8216 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.6049, allocations: 0 / 0.8216 GB, free: 5.68 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.001736/0.6066, allocations: 1.219 MB / 0.8227 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.6067, allocations: 11.42 kB / 0.8228 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001261/0.6068, allocations: 104.5 kB / 0.8229 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002638/0.6071, allocations: 106.1 kB / 0.823 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009777/0.608, allocations: 0.6909 MB / 0.8236 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.98e-05/0.6081, allocations: 46.69 kB / 0.8237 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.068e-05/0.6082, allocations: 67.73 kB / 0.8237 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.6092, allocations: 0.697 MB / 0.8244 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.6093, allocations: 3.938 kB / 0.8244 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.218e-05/0.6093, allocations: 27.38 kB / 0.8245 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.6093, allocations: 15.34 kB / 0.8245 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.6106, allocations: 0.9231 MB / 0.8254 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002983/0.6135, allocations: 2.328 MB / 0.8276 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008904/0.6144, allocations: 0.5949 MB / 0.8282 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.6148, allocations: 222.6 kB / 0.8284 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.935e-05/0.6148, allocations: 31.53 kB / 0.8285 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005217/0.6154, allocations: 344.4 kB / 0.8288 GB, free: 372 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 1.814e-06/0.6154, allocations: 0 / 0.8288 GB, free: 372 kB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.001183/0.6166, allocations: 0.7126 MB / 0.8295 GB, free: 4 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/0.6167, allocations: 247.7 kB / 0.8297 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006676/0.6174, allocations: 0.5908 MB / 0.8303 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/0.6175, allocations: 36.11 kB / 0.8303 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.6177, allocations: 341.4 kB / 0.8307 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.6179, allocations: 211.3 kB / 0.8309 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.6181, allocations: 126.3 kB / 0.831 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.6183, allocations: 378.4 kB / 0.8313 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.6186, allocations: 170.7 kB / 0.8315 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/0.619, allocations: 286.5 kB / 0.8318 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006644/0.6197, allocations: 449.3 kB / 0.8322 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6197, allocations: 0 / 0.8322 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008874/0.6206, allocations: 0.5587 MB / 0.8328 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.6206, allocations: 5.641 kB / 0.8328 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6206, allocations: 10.47 kB / 0.8328 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.6206, allocations: 2.281 kB / 0.8328 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.621, allocations: 118.8 kB / 0.8329 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.6211, allocations: 4.688 kB / 0.8329 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/0.6215, allocations: 72.89 kB / 0.833 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.382e-05/0.6215, allocations: 29.42 kB / 0.833 GB, free: 13.48 MB / 0.6075 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.0002936/0.6218, allocations: 239.7 kB / 0.8332 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.622, allocations: 74.78 kB / 0.8333 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.6233, allocations: 0.7504 MB / 0.834 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.6233, allocations: 7.875 kB / 0.834 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.6233, allocations: 7.734 kB / 0.834 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.6233, allocations: 3.984 kB / 0.834 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009637/0.6243, allocations: 0.9043 MB / 0.8349 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6243, allocations: 0 / 0.8349 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004004/0.6247, allocations: 120.7 kB / 0.835 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.6248, allocations: 2.812 kB / 0.835 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/0.6248, allocations: 23.55 kB / 0.8351 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.6248, allocations: 2.656 kB / 0.8351 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6248, allocations: 0 / 0.8351 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009511/0.6258, allocations: 0.6427 MB / 0.8357 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002772/0.6261, allocations: 236.8 kB / 0.8359 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.757e-05/0.6262, allocations: 21.05 kB / 0.8359 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004187/0.6266, allocations: 44.36 kB / 0.836 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.686e-05/0.6267, allocations: 56.86 kB / 0.836 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/0.6267, allocations: 30.33 kB / 0.8361 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004792/0.6272, allocations: 428.5 kB / 0.8365 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6272, allocations: 0 / 0.8365 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005831/0.6278, allocations: 241.3 kB / 0.8367 GB, free: 11.07 MB / 0.6075 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.002949/0.6308, allocations: 1.684 MB / 0.8383 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007396/0.6315, allocations: 483.5 kB / 0.8388 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.6315, allocations: 0 / 0.8388 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.6319, allocations: 281.2 kB / 0.8391 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.633, allocations: 254.6 kB / 0.8393 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006321/0.6393, allocations: 5.039 MB / 0.8442 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006041/0.6399, allocations: 0.9521 MB / 0.8452 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000658/0.6406, allocations: 241.7 kB / 0.8454 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004405/0.641, allocations: 299.3 kB / 0.8457 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.641, allocations: 0 / 0.8457 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04377/0.6848, allocations: 16.87 MB / 0.8622 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.861/9.546, allocations: 8.312 kB / 0.8622 GB, free: 4.141 MB / 0.6231 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)