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.000975/0.000975, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009185/0.0009184, allocations: 194.2 kB / 16.13 MB, free: 6.668 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.22/1.22, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6901/0.6901, allocations: 132.2 MB / 422.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 59.72 kB / 0.5012 GB, free: 9.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1427, allocations: 80.2 MB / 0.5795 GB, free: 9.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004827/0.1476, allocations: 4.2 MB / 0.5836 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3536/0.5011, allocations: 148.2 MB / 0.7283 GB, free: 3.371 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006322/0.5018, allocations: 15.97 kB / 0.7283 GB, free: 3.367 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005964/0.5024, allocations: 134.1 kB / 0.7284 GB, free: 3.289 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.5039, allocations: 415 kB / 0.7288 GB, free: 3.062 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.5054, allocations: 0.6917 MB / 0.7295 GB, free: 2.695 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001015/0.5064, allocations: 1.14 MB / 0.7306 GB, free: 2.148 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006528/0.5071, allocations: 0.5309 MB / 0.7311 GB, free: 1.859 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003927/0.5075, allocations: 369.1 kB / 0.7315 GB, free: 1.699 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004057/0.5079, allocations: 409.7 kB / 0.7319 GB, free: 1.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.732e-05/0.508, allocations: 45 kB / 0.7319 GB, free: 1.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.5092, allocations: 0.7733 MB / 0.7327 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.5094, allocations: 204.9 kB / 0.7329 GB, free: 1.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003359/0.5098, allocations: 433.6 kB / 0.7333 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.5111, allocations: 1.556 MB / 0.7348 GB, free: 304 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5111, allocations: 4 kB / 0.7348 GB, free: 300 kB / 0.545 GB Notification: Performance of FrontEnd: time 6.61e-07/0.5112, allocations: 0 / 0.7348 GB, free: 300 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.5112, allocations: 2.438 kB / 0.7348 GB, free: 300 kB / 0.545 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.001982/0.5132, allocations: 1.355 MB / 0.7361 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.5132, allocations: 11.31 kB / 0.7361 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/0.5133, allocations: 118.2 kB / 0.7362 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.5144, allocations: 202.9 kB / 0.7364 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008244/0.5152, allocations: 0.6956 MB / 0.7371 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/0.5153, allocations: 55.47 kB / 0.7372 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.858e-05/0.5154, allocations: 64.53 kB / 0.7372 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.5167, allocations: 0.8361 MB / 0.7381 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.5167, allocations: 0 / 0.7381 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.5168, allocations: 31.34 kB / 0.7381 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.5169, allocations: 21.84 kB / 0.7381 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.5186, allocations: 1.079 MB / 0.7392 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003173/0.5218, allocations: 2.364 MB / 0.7415 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.523, allocations: 0.7436 MB / 0.7422 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000602/0.5236, allocations: 302.9 kB / 0.7425 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.772e-05/0.5237, allocations: 29.72 kB / 0.7425 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000849/0.5245, allocations: 468.3 kB / 0.743 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 1.954e-06/0.5246, allocations: 0 / 0.743 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003062/0.5276, allocations: 1.167 MB / 0.7441 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.978e-05/0.5277, allocations: 188.6 kB / 0.7443 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005786/0.5283, allocations: 0.5976 MB / 0.7449 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.333e-05/0.5284, allocations: 46.17 kB / 0.7449 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.5286, allocations: 362.7 kB / 0.7452 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.5288, allocations: 232.8 kB / 0.7455 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.5289, allocations: 139.9 kB / 0.7456 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.5291, allocations: 385 kB / 0.746 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005376/0.5297, allocations: 246.5 kB / 0.7462 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000638/0.5303, allocations: 351.6 kB / 0.7465 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.5315, allocations: 0.5871 MB / 0.7471 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5315, allocations: 4 kB / 0.7471 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001903/0.5334, allocations: 0.7899 MB / 0.7479 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.5335, allocations: 4 kB / 0.7479 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5335, allocations: 4 kB / 0.7479 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005506/0.534, allocations: 80.89 kB / 0.748 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006307/0.5347, allocations: 151.8 kB / 0.7481 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02165/0.5563, allocations: 1.535 MB / 0.7496 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009024/0.5573, allocations: 87.31 kB / 0.7497 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.942e-05/0.5573, allocations: 32.05 kB / 0.7497 GB, free: 4.504 MB / 0.5606 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.0004256/0.5578, allocations: 245.7 kB / 0.75 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.558, allocations: 79.06 kB / 0.75 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002754/0.5607, allocations: 1.102 MB / 0.7511 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.5607, allocations: 8 kB / 0.7511 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.5608, allocations: 3.984 kB / 0.7511 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.5608, allocations: 7.984 kB / 0.7511 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.5618, allocations: 0.8295 MB / 0.7519 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.5619, allocations: 3.984 kB / 0.752 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006297/0.5625, allocations: 163.8 kB / 0.7521 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005881/0.5631, allocations: 92.64 kB / 0.7522 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.263e-05/0.5632, allocations: 27.97 kB / 0.7522 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/0.5651, allocations: 1.558 MB / 0.7537 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.5651, allocations: 0 / 0.7537 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.5673, allocations: 0.8967 MB / 0.7546 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003751/0.5676, allocations: 263.8 kB / 0.7549 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.5678, allocations: 19.98 kB / 0.7549 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005909/0.5684, allocations: 66.12 kB / 0.755 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.5685, allocations: 64.84 kB / 0.755 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.629e-05/0.5686, allocations: 35.97 kB / 0.755 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005379/0.5691, allocations: 435 kB / 0.7555 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5691, allocations: 0 / 0.7555 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000958/0.5701, allocations: 299.3 kB / 0.7557 GB, free: 14.09 MB / 0.5762 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.003955/0.5741, allocations: 1.955 MB / 0.7577 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00191/0.576, allocations: 0.7898 MB / 0.7584 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.576, allocations: 0 / 0.7584 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.5771, allocations: 0.5083 MB / 0.7589 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.5784, allocations: 265.4 kB / 0.7592 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.5916, allocations: 6.529 MB / 0.7656 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006905/0.5923, allocations: 0.9922 MB / 0.7665 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009657/0.5933, allocations: 262.3 kB / 0.7668 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006008/0.5939, allocations: 355.2 kB / 0.7671 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of SimCode: time 1.002e-06/0.5939, allocations: 0 / 0.7671 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05143/0.6453, allocations: 19.71 MB / 0.7864 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003625/0.6457, allocations: 290.7 kB / 0.7866 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/2.943, allocations: 3.625 kB / 0.7866 GB, free: 14.77 MB / 0.6075 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)