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.008008/0.008008, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.00201/0.00201, allocations: 194.3 kB / 16.68 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.795/0.795, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.89 kB / 0.5851 GB, free: 21.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.131, allocations: 80.91 MB / 0.6641 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.006243/0.1373, allocations: 4.032 MB / 0.6681 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4629/0.6002, allocations: 150.4 MB / 0.815 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005966/0.6008, allocations: 15.12 kB / 0.815 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004687/0.6013, allocations: 172 kB / 0.8152 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.6026, allocations: 462.1 kB / 0.8156 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.604, allocations: 0.7148 MB / 0.8163 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008262/0.6048, allocations: 1.078 MB / 0.8173 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005908/0.6054, allocations: 0.5049 MB / 0.8178 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003413/0.6058, allocations: 367.7 kB / 0.8182 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.6068, allocations: 364.8 kB / 0.8185 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-05/0.6069, allocations: 86.22 kB / 0.8186 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005779/0.6075, allocations: 385.7 kB / 0.819 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.6077, allocations: 228.9 kB / 0.8192 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003085/0.608, allocations: 429.2 kB / 0.8196 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.6093, allocations: 1.282 MB / 0.8209 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.6093, allocations: 4 kB / 0.8209 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.492e-06/0.6093, allocations: 0 / 0.8209 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.6093, allocations: 0 / 0.8209 GB, free: 6.598 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.001655/0.611, allocations: 1.218 MB / 0.8221 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.611, allocations: 11.2 kB / 0.8221 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/0.6111, allocations: 102.4 kB / 0.8222 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003011/0.6114, allocations: 111.1 kB / 0.8223 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009517/0.6124, allocations: 0.682 MB / 0.8229 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.952e-05/0.6125, allocations: 56.55 kB / 0.823 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.297e-05/0.6125, allocations: 57.94 kB / 0.823 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009568/0.6135, allocations: 0.7045 MB / 0.8237 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.6135, allocations: 0 / 0.8237 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.876e-05/0.6136, allocations: 27.59 kB / 0.8238 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.6136, allocations: 15.12 kB / 0.8238 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.6147, allocations: 0.924 MB / 0.8247 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002789/0.6175, allocations: 2.325 MB / 0.827 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008437/0.6184, allocations: 0.598 MB / 0.8275 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.6187, allocations: 222.8 kB / 0.8277 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.03e-05/0.6188, allocations: 21.75 kB / 0.8278 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005146/0.6193, allocations: 354 kB / 0.8281 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=61): time 1.894e-06/0.6193, allocations: 0 / 0.8281 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61): time 0.001186/0.6205, allocations: 0.7111 MB / 0.8288 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.6206, allocations: 245.1 kB / 0.829 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006387/0.6213, allocations: 0.5905 MB / 0.8296 GB, free: 304 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.569e-05/0.6213, allocations: 38.23 kB / 0.8296 GB, free: 264 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/0.6216, allocations: 345.9 kB / 0.83 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.6217, allocations: 219.3 kB / 0.8302 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.6219, allocations: 117.1 kB / 0.8303 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.6221, allocations: 384.4 kB / 0.8307 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.6223, allocations: 169.1 kB / 0.8308 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/0.6227, allocations: 285.1 kB / 0.8311 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006305/0.6234, allocations: 452.6 kB / 0.8315 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6234, allocations: 0 / 0.8315 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008316/0.6242, allocations: 0.5596 MB / 0.8321 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.6242, allocations: 8.906 kB / 0.8321 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.6242, allocations: 0 / 0.8321 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.6243, allocations: 8.812 kB / 0.8321 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/0.6247, allocations: 117.5 kB / 0.8322 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.6247, allocations: 6.531 kB / 0.8322 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/0.6251, allocations: 72.23 kB / 0.8323 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/0.6252, allocations: 23.23 kB / 0.8323 GB, free: 14.41 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.0002851/0.6255, allocations: 248.3 kB / 0.8325 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.6256, allocations: 74.81 kB / 0.8326 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.6269, allocations: 0.7439 MB / 0.8333 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.6269, allocations: 9.344 kB / 0.8333 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6269, allocations: 0 / 0.8333 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.6269, allocations: 3.984 kB / 0.8333 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008815/0.6278, allocations: 0.9007 MB / 0.8342 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.6278, allocations: 0 / 0.8342 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003926/0.6282, allocations: 118.9 kB / 0.8343 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.6283, allocations: 8.906 kB / 0.8344 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.972e-05/0.6283, allocations: 21.17 kB / 0.8344 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.6283, allocations: 8.344 kB / 0.8344 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6283, allocations: 0 / 0.8344 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008862/0.6292, allocations: 0.6409 MB / 0.835 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.6295, allocations: 240.8 kB / 0.8352 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.559e-05/0.6296, allocations: 16.8 kB / 0.8352 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004057/0.63, allocations: 46.67 kB / 0.8353 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.744e-05/0.6301, allocations: 57.77 kB / 0.8353 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.397e-05/0.6301, allocations: 25.55 kB / 0.8354 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004498/0.6306, allocations: 425.5 kB / 0.8358 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6306, allocations: 0 / 0.8358 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005918/0.6312, allocations: 246.1 kB / 0.836 GB, free: 12 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.002326/0.6335, allocations: 1.688 MB / 0.8377 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007071/0.6343, allocations: 475.1 kB / 0.8381 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6343, allocations: 320 / 0.8381 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003714/0.6347, allocations: 284.2 kB / 0.8384 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009571/0.6356, allocations: 256.8 kB / 0.8386 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005956/0.6416, allocations: 5.038 MB / 0.8436 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004803/0.6421, allocations: 0.956 MB / 0.8445 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006217/0.6427, allocations: 241.8 kB / 0.8447 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004012/0.6431, allocations: 295.3 kB / 0.845 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.6431, allocations: 0 / 0.845 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03897/0.6821, allocations: 16.87 MB / 0.8615 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.542/9.224, allocations: 2.578 kB / 0.8615 GB, free: 5.074 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)