Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.ReaderTMY3HDirNor,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IDEAS_dev_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.004307/0.004307, allocations: 96.69 kB / 15.73 MB, free: 6.043 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.001248/0.001248, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9677/0.9677, allocations: 135.6 MB / 426.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 67.89 kB / 0.5857 GB, free: 3.234 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3326, allocations: 81.02 MB / 0.6648 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00444/0.3371, allocations: 4.183 MB / 0.6689 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1738/0.5109, allocations: 150.5 MB / 0.8159 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006424/0.5116, allocations: 11.94 kB / 0.8159 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005144/0.5121, allocations: 174.4 kB / 0.8161 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.5136, allocations: 483.8 kB / 0.8165 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.5154, allocations: 0.7963 MB / 0.8173 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001253/0.5166, allocations: 1.222 MB / 0.8185 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007951/0.5175, allocations: 0.5541 MB / 0.819 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004934/0.518, allocations: 422.5 kB / 0.8194 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005466/0.5185, allocations: 438 kB / 0.8199 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.5187, allocations: 96 kB / 0.8199 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.52, allocations: 0.8544 MB / 0.8208 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002652/0.5203, allocations: 259.1 kB / 0.821 GB, free: 348 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004665/0.5208, allocations: 477.5 kB / 0.8215 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001943/0.5227, allocations: 1.667 MB / 0.8231 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5228, allocations: 0 / 0.8231 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5228, allocations: 0 / 0.8231 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.5228, allocations: 0 / 0.8231 GB, free: 14.2 MB / 0.6544 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.002269/0.525, allocations: 1.391 MB / 0.8245 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.5251, allocations: 8.031 kB / 0.8245 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001489/0.5252, allocations: 114.7 kB / 0.8246 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.5264, allocations: 204.1 kB / 0.8248 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.5275, allocations: 0.7349 MB / 0.8255 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.663e-05/0.5276, allocations: 50 kB / 0.8255 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.5277, allocations: 71.98 kB / 0.8256 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.5293, allocations: 0.8294 MB / 0.8264 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.5294, allocations: 7.938 kB / 0.8264 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.676e-05/0.5294, allocations: 28 kB / 0.8265 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.5295, allocations: 19.94 kB / 0.8265 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/0.5316, allocations: 1.077 MB / 0.8275 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003754/0.5354, allocations: 2.345 MB / 0.8298 GB, free: 7.109 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.5369, allocations: 0.7414 MB / 0.8305 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007131/0.5377, allocations: 306.7 kB / 0.8308 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.081e-05/0.5377, allocations: 28.7 kB / 0.8309 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009792/0.5387, allocations: 463.2 kB / 0.8313 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 2.184e-06/0.5387, allocations: 4 kB / 0.8313 GB, free: 5.562 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.003637/0.5424, allocations: 1.167 MB / 0.8325 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.5425, allocations: 196.6 kB / 0.8326 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007626/0.5433, allocations: 0.5902 MB / 0.8332 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.5434, allocations: 37.7 kB / 0.8333 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003072/0.5437, allocations: 372.9 kB / 0.8336 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/0.5439, allocations: 249.8 kB / 0.8338 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.5441, allocations: 142.2 kB / 0.834 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002102/0.5444, allocations: 378.8 kB / 0.8343 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006529/0.545, allocations: 245.2 kB / 0.8346 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007759/0.5458, allocations: 355.6 kB / 0.8349 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.5473, allocations: 0.5871 MB / 0.8355 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5473, allocations: 0 / 0.8355 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002206/0.5495, allocations: 0.7864 MB / 0.8363 GB, free: 348 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.5495, allocations: 7.984 kB / 0.8363 GB, free: 340 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.5495, allocations: 7.984 kB / 0.8363 GB, free: 332 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006243/0.5502, allocations: 84.89 kB / 0.8364 GB, free: 244 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007004/0.5509, allocations: 151.8 kB / 0.8365 GB, free: 92 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.5532, allocations: 1.642 MB / 0.8381 GB, free: 14.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006061/0.5538, allocations: 82.55 kB / 0.8382 GB, free: 14.23 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.295e-05/0.5539, allocations: 28.05 kB / 0.8382 GB, free: 14.2 MB / 0.67 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.0003469/0.5542, allocations: 259.8 kB / 0.8385 GB, free: 13.94 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.5544, allocations: 83.48 kB / 0.8385 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002905/0.5573, allocations: 1.104 MB / 0.8396 GB, free: 12.74 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.5573, allocations: 19.88 kB / 0.8396 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.5573, allocations: 0 / 0.8396 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.5574, allocations: 3.984 kB / 0.8396 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.5584, allocations: 0.849 MB / 0.8405 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5584, allocations: 0 / 0.8405 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006871/0.5591, allocations: 155.8 kB / 0.8406 GB, free: 11.67 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004636/0.5596, allocations: 76.78 kB / 0.8407 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.347e-05/0.5596, allocations: 19.98 kB / 0.8407 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/0.5617, allocations: 1.677 MB / 0.8423 GB, free: 9.742 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5618, allocations: 0 / 0.8423 GB, free: 9.742 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/0.564, allocations: 0.9089 MB / 0.8432 GB, free: 8.812 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003394/0.5644, allocations: 268.2 kB / 0.8435 GB, free: 8.531 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.5645, allocations: 20 kB / 0.8435 GB, free: 8.512 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006013/0.5651, allocations: 63.92 kB / 0.8436 GB, free: 8.449 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.5652, allocations: 64.91 kB / 0.8436 GB, free: 8.387 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.77e-05/0.5653, allocations: 27.98 kB / 0.8437 GB, free: 8.359 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005624/0.5659, allocations: 439 kB / 0.8441 GB, free: 7.934 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5659, allocations: 0 / 0.8441 GB, free: 7.934 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007218/0.5666, allocations: 295.2 kB / 0.8444 GB, free: 7.645 MB / 0.67 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.004372/0.571, allocations: 1.977 MB / 0.8463 GB, free: 5.812 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001893/0.5729, allocations: 0.7823 MB / 0.847 GB, free: 5.02 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5729, allocations: 4.25 kB / 0.8471 GB, free: 5.016 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.574, allocations: 0.508 MB / 0.8475 GB, free: 4.496 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.5752, allocations: 301.9 kB / 0.8478 GB, free: 4.223 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/0.5872, allocations: 6.023 MB / 0.8537 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007004/0.5879, allocations: 0.9916 MB / 0.8547 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000833/0.5888, allocations: 262.3 kB / 0.8549 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005624/0.5893, allocations: 347.3 kB / 0.8553 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of SimCode: time 5.11e-07/0.5893, allocations: 0 / 0.8553 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3145/0.9038, allocations: 20.67 MB / 0.8755 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.69, allocations: 5.688 kB / 0.8755 GB, free: 189.9 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)