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.004757/0.004757, allocations: 110.5 kB / 15.74 MB, free: 6.023 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.001219/0.001219, allocations: 195.1 kB / 16.68 MB, free: 5.93 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.217/1.217, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.719/0.719, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 65.94 kB / 0.5808 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1344, allocations: 80.2 MB / 0.6592 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005748/0.1402, allocations: 4.191 MB / 0.6633 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4593/0.5995, allocations: 150.5 MB / 0.8102 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006511/0.6002, allocations: 21.06 kB / 0.8102 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005959/0.6009, allocations: 170.4 kB / 0.8104 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.6024, allocations: 486.8 kB / 0.8109 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.604, allocations: 0.7912 MB / 0.8116 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001236/0.6053, allocations: 1.221 MB / 0.8128 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007762/0.6061, allocations: 0.5586 MB / 0.8134 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006279/0.6067, allocations: 428.4 kB / 0.8138 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000625/0.6073, allocations: 439.1 kB / 0.8142 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002416/0.6076, allocations: 96.47 kB / 0.8143 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.6089, allocations: 0.8577 MB / 0.8151 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002484/0.6092, allocations: 255.8 kB / 0.8154 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004899/0.6097, allocations: 483.1 kB / 0.8158 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.6116, allocations: 1.658 MB / 0.8174 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6116, allocations: 0 / 0.8174 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6116, allocations: 0 / 0.8174 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.194e-05/0.6117, allocations: 0 / 0.8174 GB, free: 9.562 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002346/0.614, allocations: 1.39 MB / 0.8188 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.6141, allocations: 9.719 kB / 0.8188 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000125/0.6142, allocations: 121 kB / 0.8189 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.6153, allocations: 202.5 kB / 0.8191 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009805/0.6163, allocations: 0.7306 MB / 0.8198 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.048e-05/0.6163, allocations: 54.59 kB / 0.8199 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.62e-05/0.6164, allocations: 68.84 kB / 0.82 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.6178, allocations: 0.8256 MB / 0.8208 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.6178, allocations: 0 / 0.8208 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.291e-05/0.6179, allocations: 35.31 kB / 0.8208 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.6179, allocations: 15.56 kB / 0.8208 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.6197, allocations: 1.081 MB / 0.8219 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003295/0.623, allocations: 2.343 MB / 0.8241 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.6243, allocations: 0.7402 MB / 0.8249 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006274/0.6249, allocations: 301.8 kB / 0.8252 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.484e-05/0.625, allocations: 40.91 kB / 0.8252 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008701/0.6259, allocations: 454.1 kB / 0.8256 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=73): time 1.853e-06/0.6259, allocations: 0 / 0.8256 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73): time 0.003251/0.6292, allocations: 1.177 MB / 0.8268 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.272e-05/0.6293, allocations: 188.8 kB / 0.827 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006242/0.6299, allocations: 0.5932 MB / 0.8275 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.525e-05/0.63, allocations: 42.11 kB / 0.8276 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.6302, allocations: 363.9 kB / 0.8279 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.6304, allocations: 258.8 kB / 0.8282 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.6306, allocations: 140.2 kB / 0.8283 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.6308, allocations: 387.7 kB / 0.8287 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005658/0.6314, allocations: 244.9 kB / 0.8289 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006626/0.6321, allocations: 352 kB / 0.8292 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.6333, allocations: 0.5893 MB / 0.8298 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.6333, allocations: 0 / 0.8298 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001886/0.6352, allocations: 0.7887 MB / 0.8306 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.6352, allocations: 10.28 kB / 0.8306 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.6352, allocations: 2.188 kB / 0.8306 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005864/0.6358, allocations: 83.8 kB / 0.8307 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006209/0.6364, allocations: 150.4 kB / 0.8308 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.6383, allocations: 1.646 MB / 0.8324 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005862/0.6389, allocations: 79.28 kB / 0.8325 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-05/0.639, allocations: 35.36 kB / 0.8325 GB, free: 15.06 MB / 0.6075 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.0003028/0.6393, allocations: 244.1 kB / 0.8328 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.6394, allocations: 88.81 kB / 0.8329 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/0.6419, allocations: 1.104 MB / 0.8339 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/0.6419, allocations: 9.438 kB / 0.8339 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.6419, allocations: 0 / 0.8339 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.6419, allocations: 6.891 kB / 0.834 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008498/0.6428, allocations: 0.8424 MB / 0.8348 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6428, allocations: 10.31 kB / 0.8348 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006127/0.6434, allocations: 157.9 kB / 0.8349 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000422/0.6439, allocations: 71.84 kB / 0.835 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.811e-05/0.6439, allocations: 30.06 kB / 0.835 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/0.6456, allocations: 1.66 MB / 0.8367 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.6456, allocations: 3.938 kB / 0.8367 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.6475, allocations: 0.9071 MB / 0.8375 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.6479, allocations: 274.8 kB / 0.8378 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.648, allocations: 17.66 kB / 0.8378 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005622/0.6485, allocations: 59.28 kB / 0.8379 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.6487, allocations: 69.56 kB / 0.8379 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.784e-05/0.6487, allocations: 36.59 kB / 0.838 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004605/0.6492, allocations: 435.1 kB / 0.8384 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6492, allocations: 0 / 0.8384 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000689/0.6499, allocations: 295 kB / 0.8387 GB, free: 10.67 MB / 0.6075 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.003204/0.6531, allocations: 1.974 MB / 0.8406 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001627/0.6547, allocations: 0.7851 MB / 0.8414 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6548, allocations: 0 / 0.8414 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009228/0.6557, allocations: 0.5146 MB / 0.8419 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.6567, allocations: 293 kB / 0.8422 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.6669, allocations: 6.032 MB / 0.848 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.6674, allocations: 0.9877 MB / 0.849 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007425/0.6681, allocations: 266.2 kB / 0.8493 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004684/0.6686, allocations: 355.3 kB / 0.8496 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.6686, allocations: 0 / 0.8496 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04578/0.7144, allocations: 20.67 MB / 0.8698 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/12.04, allocations: 12.16 kB / 0.8698 GB, free: 12.59 MB / 0.6387 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)