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.004504/0.004504, allocations: 97.27 kB / 15.73 MB, free: 5.988 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: 188.4 kB / 16.67 MB, free: 5.918 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.384/1.384, 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-master/package.mo): time 0.9465/0.9465, allocations: 135.6 MB / 426.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 75.88 kB / 0.5857 GB, free: 3.238 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3327, allocations: 81.01 MB / 0.6648 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004387/0.3371, allocations: 4.192 MB / 0.6689 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1656/0.5028, allocations: 150.5 MB / 0.8159 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006892/0.5035, allocations: 19.88 kB / 0.8159 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000515/0.504, allocations: 162.5 kB / 0.8161 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.5055, allocations: 491.6 kB / 0.8165 GB, free: 4.996 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.5073, allocations: 0.7926 MB / 0.8173 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001268/0.5086, allocations: 1.23 MB / 0.8185 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007901/0.5094, allocations: 0.5541 MB / 0.819 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000511/0.5099, allocations: 418.5 kB / 0.8194 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005294/0.5104, allocations: 441 kB / 0.8199 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.5106, allocations: 96 kB / 0.8199 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.512, allocations: 0.8543 MB / 0.8208 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.5122, allocations: 259.2 kB / 0.821 GB, free: 360 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004455/0.5127, allocations: 481.4 kB / 0.8215 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00198/0.5147, allocations: 1.663 MB / 0.8231 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5147, allocations: 3.984 kB / 0.8231 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5147, allocations: 0 / 0.8231 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.5147, allocations: 0 / 0.8231 GB, free: 14.21 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.002208/0.5169, allocations: 1.387 MB / 0.8245 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.517, allocations: 8.031 kB / 0.8245 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/0.5171, allocations: 118.7 kB / 0.8246 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.5182, allocations: 204.1 kB / 0.8248 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.5193, allocations: 0.7349 MB / 0.8255 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.489e-05/0.5194, allocations: 50 kB / 0.8256 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.66e-05/0.5195, allocations: 68 kB / 0.8256 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.521, allocations: 0.8294 MB / 0.8264 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.5211, allocations: 0 / 0.8264 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.242e-05/0.5212, allocations: 28 kB / 0.8265 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.5212, allocations: 16 kB / 0.8265 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.5232, allocations: 1.085 MB / 0.8275 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003633/0.5269, allocations: 2.344 MB / 0.8298 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.5284, allocations: 0.7413 MB / 0.8305 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000679/0.5291, allocations: 306.6 kB / 0.8308 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.79e-05/0.5292, allocations: 40.67 kB / 0.8309 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009567/0.5301, allocations: 455.2 kB / 0.8313 GB, free: 5.582 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 2.335e-06/0.5301, allocations: 0 / 0.8313 GB, free: 5.582 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.003591/0.5337, allocations: 1.175 MB / 0.8325 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.5339, allocations: 188.6 kB / 0.8326 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000735/0.5346, allocations: 0.598 MB / 0.8332 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.5347, allocations: 37.7 kB / 0.8333 GB, free: 3.508 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/0.535, allocations: 364.9 kB / 0.8336 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.5352, allocations: 253.8 kB / 0.8338 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.5354, allocations: 142.2 kB / 0.834 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.5356, allocations: 386.8 kB / 0.8343 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006214/0.5363, allocations: 241.2 kB / 0.8346 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007391/0.537, allocations: 359.5 kB / 0.8349 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.5384, allocations: 0.5831 MB / 0.8355 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.5384, allocations: 4.062 kB / 0.8355 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002137/0.5406, allocations: 0.7904 MB / 0.8363 GB, free: 352 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5406, allocations: 8 kB / 0.8363 GB, free: 344 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.5406, allocations: 0 / 0.8363 GB, free: 344 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006253/0.5412, allocations: 84.8 kB / 0.8364 GB, free: 256 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006719/0.5419, allocations: 147.8 kB / 0.8365 GB, free: 108 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/0.5442, allocations: 1.642 MB / 0.8381 GB, free: 14.32 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005915/0.5448, allocations: 79.61 kB / 0.8382 GB, free: 14.24 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/0.5448, allocations: 31.97 kB / 0.8382 GB, free: 14.21 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.0003618/0.5452, allocations: 249.6 kB / 0.8384 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.5454, allocations: 83.55 kB / 0.8385 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002745/0.5481, allocations: 1.107 MB / 0.8396 GB, free: 12.76 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.5481, allocations: 8 kB / 0.8396 GB, free: 12.75 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.5481, allocations: 7.875 kB / 0.8396 GB, free: 12.74 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.5482, allocations: 3.984 kB / 0.8396 GB, free: 12.74 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009748/0.5491, allocations: 0.8529 MB / 0.8405 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.5492, allocations: 0 / 0.8405 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000678/0.5498, allocations: 155.8 kB / 0.8406 GB, free: 11.68 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004532/0.5503, allocations: 68.8 kB / 0.8407 GB, free: 11.61 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.756e-05/0.5504, allocations: 35.91 kB / 0.8407 GB, free: 11.58 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/0.5524, allocations: 1.67 MB / 0.8423 GB, free: 9.758 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.5524, allocations: 4.062 kB / 0.8423 GB, free: 9.754 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.5545, allocations: 0.9165 MB / 0.8432 GB, free: 8.816 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000327/0.5549, allocations: 268.2 kB / 0.8435 GB, free: 8.535 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.555, allocations: 16 kB / 0.8435 GB, free: 8.52 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005717/0.5556, allocations: 59.94 kB / 0.8436 GB, free: 8.461 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.5557, allocations: 64.91 kB / 0.8436 GB, free: 8.398 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.747e-05/0.5558, allocations: 31.97 kB / 0.8437 GB, free: 8.367 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005364/0.5563, allocations: 435 kB / 0.8441 GB, free: 7.945 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5563, allocations: 0 / 0.8441 GB, free: 7.945 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007245/0.5571, allocations: 295.2 kB / 0.8444 GB, free: 7.656 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.004213/0.5613, allocations: 1.974 MB / 0.8463 GB, free: 5.824 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001797/0.5631, allocations: 0.7863 MB / 0.847 GB, free: 5.027 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5631, allocations: 0 / 0.847 GB, free: 5.027 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.5642, allocations: 0.5159 MB / 0.8476 GB, free: 4.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.5653, allocations: 300.5 kB / 0.8478 GB, free: 4.234 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.5766, allocations: 6.025 MB / 0.8537 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006439/0.5772, allocations: 0.9916 MB / 0.8547 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007735/0.578, allocations: 254.3 kB / 0.8549 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005267/0.5785, allocations: 355.3 kB / 0.8553 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of SimCode: time 4.61e-07/0.5785, allocations: 3.938 kB / 0.8553 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4663/1.045, allocations: 20.65 MB / 0.8754 GB, free: 190 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/14.48, allocations: 12.36 kB / 0.8755 GB, free: 190 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)