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.007267/0.007267, allocations: 97.17 kB / 15.73 MB, free: 6.047 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.001961/0.00196, allocations: 196.2 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8261/0.8261, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 71.89 kB / 0.5808 GB, free: 8.109 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3392, allocations: 80.2 MB / 0.6592 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004511/0.3437, allocations: 4.187 MB / 0.6633 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1707/0.5145, allocations: 150.5 MB / 0.8102 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006745/0.5152, allocations: 15.94 kB / 0.8102 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00053/0.5158, allocations: 170.3 kB / 0.8104 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00148/0.5173, allocations: 486.6 kB / 0.8108 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.5192, allocations: 0.8011 MB / 0.8116 GB, free: 9.523 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001279/0.5205, allocations: 1.214 MB / 0.8128 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008057/0.5213, allocations: 0.5589 MB / 0.8134 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005171/0.5218, allocations: 418.5 kB / 0.8138 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005485/0.5224, allocations: 438 kB / 0.8142 GB, free: 6.883 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.5225, allocations: 96 kB / 0.8143 GB, free: 6.789 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.5239, allocations: 0.8582 MB / 0.8151 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002716/0.5242, allocations: 263.1 kB / 0.8154 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004597/0.5247, allocations: 473.5 kB / 0.8158 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.5268, allocations: 1.664 MB / 0.8174 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5268, allocations: 0 / 0.8174 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5268, allocations: 0 / 0.8174 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.5268, allocations: 0 / 0.8174 GB, free: 3.539 MB / 0.6387 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.002393/0.5292, allocations: 1.387 MB / 0.8188 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.5293, allocations: 12.03 kB / 0.8188 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/0.5294, allocations: 114.7 kB / 0.8189 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.5306, allocations: 204.1 kB / 0.8191 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.5317, allocations: 0.731 MB / 0.8198 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.426e-05/0.5318, allocations: 57.98 kB / 0.8199 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.841e-05/0.5319, allocations: 68 kB / 0.8199 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.5335, allocations: 0.8333 MB / 0.8208 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.5336, allocations: 0 / 0.8208 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.963e-05/0.5337, allocations: 32 kB / 0.8208 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.5337, allocations: 20 kB / 0.8208 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/0.5358, allocations: 1.073 MB / 0.8219 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003816/0.5396, allocations: 2.349 MB / 0.8241 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.5412, allocations: 0.7428 MB / 0.8249 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000711/0.542, allocations: 302.7 kB / 0.8252 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-05/0.5421, allocations: 24.69 kB / 0.8252 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009867/0.5431, allocations: 467.2 kB / 0.8256 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 1.863e-06/0.5431, allocations: 0 / 0.8256 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.003681/0.5468, allocations: 1.167 MB / 0.8268 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.5469, allocations: 192.6 kB / 0.827 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007852/0.5477, allocations: 0.5941 MB / 0.8275 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.21e-05/0.5478, allocations: 45.7 kB / 0.8276 GB, free: 8.836 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.5481, allocations: 368.9 kB / 0.8279 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.5483, allocations: 257.8 kB / 0.8282 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.5486, allocations: 138.2 kB / 0.8283 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002012/0.5488, allocations: 374.8 kB / 0.8287 GB, free: 7.699 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000664/0.5494, allocations: 249.2 kB / 0.8289 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007913/0.5502, allocations: 351.6 kB / 0.8292 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/0.5517, allocations: 0.5871 MB / 0.8298 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5517, allocations: 0 / 0.8298 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002244/0.554, allocations: 0.7941 MB / 0.8306 GB, free: 5.676 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.554, allocations: 8 kB / 0.8306 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.554, allocations: 0 / 0.8306 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006159/0.5546, allocations: 80.91 kB / 0.8307 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000704/0.5553, allocations: 151.8 kB / 0.8308 GB, free: 5.438 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/0.5577, allocations: 1.642 MB / 0.8324 GB, free: 3.652 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006275/0.5583, allocations: 83.67 kB / 0.8325 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-05/0.5584, allocations: 31.97 kB / 0.8325 GB, free: 3.539 MB / 0.6544 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.0003875/0.5588, allocations: 249.6 kB / 0.8328 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.5589, allocations: 79.48 kB / 0.8328 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002927/0.5619, allocations: 1.111 MB / 0.8339 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.5619, allocations: 11.94 kB / 0.8339 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.5619, allocations: 0 / 0.8339 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.988e-05/0.5619, allocations: 7.984 kB / 0.8339 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.563, allocations: 0.8412 MB / 0.8348 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.563, allocations: 0 / 0.8348 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006916/0.5637, allocations: 155.8 kB / 0.8349 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004746/0.5642, allocations: 76.78 kB / 0.835 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.457e-05/0.5642, allocations: 23.98 kB / 0.835 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/0.5664, allocations: 1.685 MB / 0.8367 GB, free: 15.08 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5664, allocations: 0 / 0.8367 GB, free: 15.08 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.5687, allocations: 0.9049 MB / 0.8375 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003532/0.569, allocations: 268.2 kB / 0.8378 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.5691, allocations: 19.98 kB / 0.8378 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005972/0.5697, allocations: 59.94 kB / 0.8379 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.5699, allocations: 60.91 kB / 0.8379 GB, free: 13.74 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.347e-05/0.57, allocations: 35.98 kB / 0.838 GB, free: 13.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005646/0.5705, allocations: 435 kB / 0.8384 GB, free: 13.28 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5706, allocations: 4 kB / 0.8384 GB, free: 13.28 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007606/0.5713, allocations: 295.2 kB / 0.8387 GB, free: 12.99 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.004424/0.5758, allocations: 1.977 MB / 0.8406 GB, free: 11.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001905/0.5777, allocations: 0.7865 MB / 0.8414 GB, free: 10.39 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5777, allocations: 0 / 0.8414 GB, free: 10.39 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.5788, allocations: 0.508 MB / 0.8419 GB, free: 9.871 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.58, allocations: 305.7 kB / 0.8422 GB, free: 9.613 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.5918, allocations: 6.022 MB / 0.848 GB, free: 3.473 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006894/0.5925, allocations: 0.9877 MB / 0.849 GB, free: 2.457 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00081/0.5933, allocations: 262.2 kB / 0.8492 GB, free: 2.195 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005585/0.5939, allocations: 347.3 kB / 0.8496 GB, free: 1.855 MB / 0.67 GB Notification: Performance of SimCode: time 5.11e-07/0.5939, allocations: 0 / 0.8496 GB, free: 1.855 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.304/0.8979, allocations: 20.66 MB / 0.8698 GB, free: 194.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.7, allocations: 5.844 kB / 0.8698 GB, free: 194.6 MB / 0.6856 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)