Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.ReaderTMY3HDirNor,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",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.0008792/0.0008793, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005293/0.005293, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.219/1.219, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6911/0.6911, allocations: 132.3 MB / 423.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002721/0.0002722, allocations: 8 kB / 0.5041 GB, free: 3.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3315, allocations: 81.57 MB / 0.5837 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.003647/0.3352, allocations: 3.796 MB / 0.5874 GB, free: 1.324 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1413/0.4765, allocations: 146.6 MB / 0.7306 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006056/0.4771, allocations: 15.94 kB / 0.7306 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004624/0.4776, allocations: 134.9 kB / 0.7307 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.4787, allocations: 401 kB / 0.7311 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.4802, allocations: 0.6957 MB / 0.7318 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000936/0.4811, allocations: 1.132 MB / 0.7329 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006654/0.4818, allocations: 0.5268 MB / 0.7334 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003461/0.4821, allocations: 310.5 kB / 0.7337 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003641/0.4825, allocations: 338.1 kB / 0.734 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.252e-05/0.4826, allocations: 24 kB / 0.734 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.4836, allocations: 0.7606 MB / 0.7348 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.4838, allocations: 167.2 kB / 0.7349 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.4841, allocations: 419.1 kB / 0.7353 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.4854, allocations: 1.515 MB / 0.7368 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.4854, allocations: 0 / 0.7368 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4854, allocations: 0 / 0.7368 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.4854, allocations: 0 / 0.7368 GB, free: 3.141 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001765/0.4872, allocations: 1.165 MB / 0.738 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.4872, allocations: 12.03 kB / 0.738 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/0.4874, allocations: 122.7 kB / 0.7381 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.4884, allocations: 207.5 kB / 0.7383 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008524/0.4893, allocations: 0.6992 MB / 0.739 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/0.4893, allocations: 50 kB / 0.739 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.92e-05/0.4894, allocations: 68 kB / 0.7391 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.4908, allocations: 0.8412 MB / 0.7399 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.4908, allocations: 3.938 kB / 0.7399 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.107e-05/0.4909, allocations: 32 kB / 0.7399 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.4909, allocations: 16 kB / 0.74 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/0.4927, allocations: 1.093 MB / 0.741 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003268/0.496, allocations: 2.403 MB / 0.7434 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.4973, allocations: 0.7468 MB / 0.7441 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000626/0.498, allocations: 318.6 kB / 0.7444 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-05/0.4981, allocations: 36.67 kB / 0.7444 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008606/0.4989, allocations: 471.2 kB / 0.7449 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 1.964e-06/0.4989, allocations: 0 / 0.7449 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.003208/0.5022, allocations: 1.195 MB / 0.7461 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/0.5022, allocations: 192.6 kB / 0.7462 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006295/0.5029, allocations: 0.598 MB / 0.7468 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.585e-05/0.5029, allocations: 37.7 kB / 0.7469 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.5032, allocations: 360.4 kB / 0.7472 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.5034, allocations: 232.6 kB / 0.7474 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.322e-05/0.5034, allocations: 57.69 kB / 0.7475 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5036, allocations: 382.8 kB / 0.7478 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005802/0.5042, allocations: 257.2 kB / 0.7481 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006479/0.5048, allocations: 363.6 kB / 0.7484 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.506, allocations: 0.6066 MB / 0.749 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5061, allocations: 0 / 0.749 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001899/0.508, allocations: 0.8016 MB / 0.7498 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.508, allocations: 4 kB / 0.7498 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.508, allocations: 0 / 0.7498 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005625/0.5086, allocations: 88.89 kB / 0.7499 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006313/0.5092, allocations: 155.8 kB / 0.75 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/0.511, allocations: 1.536 MB / 0.7515 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005876/0.5116, allocations: 87.42 kB / 0.7516 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/0.5117, allocations: 40.03 kB / 0.7517 GB, free: 3.391 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003049/0.512, allocations: 243.5 kB / 0.7519 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.5121, allocations: 90.91 kB / 0.752 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/0.5147, allocations: 1.115 MB / 0.7531 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.5147, allocations: 12 kB / 0.7531 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.5148, allocations: 0 / 0.7531 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.5148, allocations: 3.984 kB / 0.7531 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008205/0.5156, allocations: 0.8527 MB / 0.7539 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5156, allocations: 0 / 0.7539 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006125/0.5162, allocations: 167.7 kB / 0.7541 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000489/0.5167, allocations: 88.7 kB / 0.7542 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.68e-05/0.5168, allocations: 23.98 kB / 0.7542 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/0.5184, allocations: 1.548 MB / 0.7557 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5184, allocations: 0 / 0.7557 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.5203, allocations: 0.9279 MB / 0.7566 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/0.5206, allocations: 275.7 kB / 0.7569 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.266e-05/0.5207, allocations: 20.14 kB / 0.7569 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005852/0.5213, allocations: 79.75 kB / 0.757 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.5215, allocations: 76.83 kB / 0.757 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-05/0.5215, allocations: 27.98 kB / 0.7571 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004592/0.522, allocations: 439 kB / 0.7575 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.522, allocations: 0 / 0.7575 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006671/0.5227, allocations: 287.3 kB / 0.7578 GB, free: 12.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003263/0.5259, allocations: 1.972 MB / 0.7597 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001667/0.5276, allocations: 0.8098 MB / 0.7605 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5276, allocations: 4 kB / 0.7605 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009014/0.5285, allocations: 0.5159 MB / 0.761 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.5297, allocations: 263.1 kB / 0.7612 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.541, allocations: 6.626 MB / 0.7677 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.5415, allocations: 0.9962 MB / 0.7687 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007928/0.5423, allocations: 274.2 kB / 0.7689 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/0.5428, allocations: 351.2 kB / 0.7693 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of SimCode: time 6.61e-07/0.5428, allocations: 0 / 0.7693 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.5764, allocations: 19.42 MB / 0.7882 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/0.5767, allocations: 287.6 kB / 0.7885 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.112/2.689, allocations: 3.938 kB / 0.7885 GB, free: 13.72 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)