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.004467/0.004467, allocations: 96.39 kB / 15.73 MB, free: 6.055 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.001127/0.001127, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9279/0.9279, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 59.91 kB / 0.5851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3483, allocations: 80.91 MB / 0.6641 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004462/0.3528, allocations: 4.198 MB / 0.6682 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1491/0.502, allocations: 150.5 MB / 0.8152 GB, free: 6.328 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000638/0.5027, allocations: 15.94 kB / 0.8152 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000503/0.5032, allocations: 170.4 kB / 0.8154 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.5046, allocations: 491.7 kB / 0.8158 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.5063, allocations: 0.7932 MB / 0.8166 GB, free: 4.875 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00107/0.5074, allocations: 1.226 MB / 0.8178 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007282/0.5081, allocations: 0.558 MB / 0.8184 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004709/0.5086, allocations: 426.5 kB / 0.8188 GB, free: 2.641 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004577/0.5091, allocations: 438 kB / 0.8192 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.5092, allocations: 100 kB / 0.8193 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.5105, allocations: 0.8582 MB / 0.8201 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.5107, allocations: 251.2 kB / 0.8204 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003859/0.5111, allocations: 489.4 kB / 0.8208 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001736/0.5128, allocations: 1.655 MB / 0.8224 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.5129, allocations: 3.984 kB / 0.8224 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5129, allocations: 4 kB / 0.8224 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.5129, allocations: 0 / 0.8224 GB, free: 14.86 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.002146/0.515, allocations: 1.383 MB / 0.8238 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.5151, allocations: 12.03 kB / 0.8238 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001381/0.5152, allocations: 122.7 kB / 0.8239 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.5164, allocations: 200.1 kB / 0.8241 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.5175, allocations: 0.731 MB / 0.8248 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/0.5175, allocations: 54 kB / 0.8249 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.5177, allocations: 68 kB / 0.8249 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.5192, allocations: 0.8294 MB / 0.8258 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.5192, allocations: 3.938 kB / 0.8258 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.914e-05/0.5193, allocations: 28 kB / 0.8258 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.5193, allocations: 16 kB / 0.8258 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.5212, allocations: 1.077 MB / 0.8268 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003488/0.5247, allocations: 2.348 MB / 0.8291 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.5262, allocations: 0.7375 MB / 0.8299 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006424/0.5268, allocations: 302.7 kB / 0.8302 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.285e-05/0.5269, allocations: 32.67 kB / 0.8302 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000931/0.5279, allocations: 459.2 kB / 0.8306 GB, free: 6.242 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 2.865e-06/0.5279, allocations: 0 / 0.8306 GB, free: 6.242 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.003595/0.5315, allocations: 1.178 MB / 0.8318 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.282e-05/0.5316, allocations: 188.6 kB / 0.832 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007266/0.5323, allocations: 0.598 MB / 0.8325 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.288e-05/0.5324, allocations: 37.7 kB / 0.8326 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.5327, allocations: 364.9 kB / 0.8329 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.5329, allocations: 253.8 kB / 0.8332 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.5331, allocations: 138.2 kB / 0.8333 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5333, allocations: 390.8 kB / 0.8337 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006334/0.5339, allocations: 241.2 kB / 0.8339 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007354/0.5347, allocations: 359.5 kB / 0.8342 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.536, allocations: 0.5831 MB / 0.8348 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.536, allocations: 0 / 0.8348 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002098/0.5381, allocations: 0.7903 MB / 0.8356 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.5382, allocations: 4.125 kB / 0.8356 GB, free: 1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.5382, allocations: 4 kB / 0.8356 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005944/0.5388, allocations: 80.77 kB / 0.8357 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006873/0.5395, allocations: 159.8 kB / 0.8358 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.5415, allocations: 1.638 MB / 0.8374 GB, free: 14.98 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006535/0.5422, allocations: 89.88 kB / 0.8375 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.669e-05/0.5423, allocations: 27.98 kB / 0.8375 GB, free: 14.86 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.0003665/0.5427, allocations: 249.6 kB / 0.8378 GB, free: 14.61 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.5428, allocations: 83.47 kB / 0.8378 GB, free: 14.53 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/0.5455, allocations: 1.1 MB / 0.8389 GB, free: 13.42 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.5455, allocations: 8 kB / 0.8389 GB, free: 13.41 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.5455, allocations: 7.938 kB / 0.8389 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.5455, allocations: 3.984 kB / 0.8389 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009416/0.5465, allocations: 0.849 MB / 0.8398 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.5465, allocations: 0 / 0.8398 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006745/0.5472, allocations: 163.8 kB / 0.8399 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004486/0.5476, allocations: 64.8 kB / 0.84 GB, free: 12.27 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.419e-05/0.5477, allocations: 31.97 kB / 0.84 GB, free: 12.24 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001864/0.5496, allocations: 1.67 MB / 0.8416 GB, free: 10.42 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5496, allocations: 0 / 0.8416 GB, free: 10.42 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/0.5517, allocations: 0.9127 MB / 0.8425 GB, free: 9.488 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003499/0.5521, allocations: 268.2 kB / 0.8428 GB, free: 9.207 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.5522, allocations: 16 kB / 0.8428 GB, free: 9.191 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006074/0.5528, allocations: 68 kB / 0.8429 GB, free: 9.125 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.553, allocations: 60.91 kB / 0.8429 GB, free: 9.066 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.968e-05/0.553, allocations: 35.97 kB / 0.843 GB, free: 9.031 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005062/0.5536, allocations: 435 kB / 0.8434 GB, free: 8.609 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5536, allocations: 0 / 0.8434 GB, free: 8.609 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007608/0.5543, allocations: 295.2 kB / 0.8437 GB, free: 8.32 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.003554/0.5579, allocations: 1.97 MB / 0.8456 GB, free: 6.492 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.5597, allocations: 0.7825 MB / 0.8464 GB, free: 5.703 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5597, allocations: 0 / 0.8464 GB, free: 5.703 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.5607, allocations: 0.5197 MB / 0.8469 GB, free: 5.172 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.5619, allocations: 291.3 kB / 0.8471 GB, free: 4.91 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.5728, allocations: 6.029 MB / 0.853 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/0.5734, allocations: 0.9911 MB / 0.854 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007856/0.5742, allocations: 266.3 kB / 0.8542 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005033/0.5747, allocations: 355.3 kB / 0.8546 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of SimCode: time 5.81e-07/0.5747, allocations: 0 / 0.8546 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3047/0.8794, allocations: 20.66 MB / 0.8748 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/13.15, allocations: 6.625 kB / 0.8748 GB, free: 190.3 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)