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: translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006049/0.006049, allocations: 108.6 kB / 15.74 MB, free: 6.051 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.001278/0.001279, allocations: 194.4 kB / 16.68 MB, free: 5.98 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8258/0.8258, allocations: 132.2 MB / 422.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 62 kB / 0.5813 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.206, allocations: 80.2 MB / 0.6596 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006492/0.2125, allocations: 4.196 MB / 0.6637 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1755/0.3881, allocations: 150.5 MB / 0.8107 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.3894, allocations: 19.94 kB / 0.8107 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.3905, allocations: 170.4 kB / 0.8109 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002547/0.3931, allocations: 491 kB / 0.8113 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002571/0.3957, allocations: 0.7917 MB / 0.8121 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.4876/0.8833, allocations: 1.216 MB / 0.8133 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.8845, allocations: 0.5537 MB / 0.8138 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009318/0.8855, allocations: 426.4 kB / 0.8143 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005959/0.8861, allocations: 430.8 kB / 0.8147 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.8863, allocations: 100.1 kB / 0.8148 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/0.8879, allocations: 0.8596 MB / 0.8156 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.8882, allocations: 260 kB / 0.8158 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004893/0.8887, allocations: 478.5 kB / 0.8163 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.8911, allocations: 1.644 MB / 0.8179 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.8912, allocations: 0.5625 kB / 0.8179 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8912, allocations: 0 / 0.8179 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.664e-05/0.8912, allocations: 0.5938 kB / 0.8179 GB, free: 3.523 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.002369/0.8936, allocations: 1.345 MB / 0.8192 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.8936, allocations: 9.766 kB / 0.8192 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.8948, allocations: 193 kB / 0.8194 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.896, allocations: 0.7238 MB / 0.8201 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.034e-05/0.8961, allocations: 55.36 kB / 0.8202 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.8963, allocations: 69.41 kB / 0.8202 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.8978, allocations: 0.8308 MB / 0.8211 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.8979, allocations: 6.891 kB / 0.8211 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.44e-05/0.898, allocations: 32.41 kB / 0.8211 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.898, allocations: 18.88 kB / 0.8211 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.9, allocations: 1.073 MB / 0.8222 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003645/0.9036, allocations: 2.334 MB / 0.8244 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.905, allocations: 0.7381 MB / 0.8252 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00061/0.9056, allocations: 305.8 kB / 0.8254 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.639e-05/0.9057, allocations: 31.89 kB / 0.8255 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008415/0.9066, allocations: 462.8 kB / 0.8259 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.414e-06/0.9066, allocations: 2.797 kB / 0.8259 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73): time 0.003486/0.9101, allocations: 1.169 MB / 0.8271 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.8e-05/0.9102, allocations: 194 kB / 0.8273 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.9113, allocations: 0.6026 MB / 0.8278 GB, free: 16.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.455e-05/0.9114, allocations: 38.27 kB / 0.8279 GB, free: 16.76 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.9117, allocations: 355.1 kB / 0.8282 GB, free: 16.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.9119, allocations: 243.7 kB / 0.8284 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002853/0.9122, allocations: 157.5 kB / 0.8286 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002081/0.9124, allocations: 380.1 kB / 0.829 GB, free: 16.11 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006402/0.913, allocations: 268.4 kB / 0.8292 GB, free: 16.11 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007247/0.9138, allocations: 365 kB / 0.8296 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.9151, allocations: 0.6118 MB / 0.8302 GB, free: 16 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.9151, allocations: 0 / 0.8302 GB, free: 16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002199/0.9173, allocations: 0.8466 MB / 0.831 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.9173, allocations: 5.469 kB / 0.831 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.9173, allocations: 1.312 kB / 0.831 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006705/0.918, allocations: 86.64 kB / 0.8311 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007649/0.9188, allocations: 159.7 kB / 0.8312 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.9209, allocations: 1.654 MB / 0.8328 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007381/0.9216, allocations: 84.75 kB / 0.8329 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.419e-05/0.9217, allocations: 36.12 kB / 0.833 GB, free: 14.46 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: 8 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,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 (85): * Single equations (assignments): 84 * 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.0004294/0.9221, allocations: 252.3 kB / 0.8332 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.9223, allocations: 76.31 kB / 0.8333 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00246/0.9248, allocations: 1.098 MB / 0.8343 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.9248, allocations: 10.66 kB / 0.8344 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.9248, allocations: 3.844 kB / 0.8344 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.9248, allocations: 2.531 kB / 0.8344 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009426/0.9258, allocations: 0.8438 MB / 0.8352 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.9258, allocations: 3.688 kB / 0.8352 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005907/0.9264, allocations: 161.8 kB / 0.8353 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004197/0.9268, allocations: 71.47 kB / 0.8354 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/0.9269, allocations: 25.3 kB / 0.8354 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/0.9287, allocations: 1.659 MB / 0.8371 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.9287, allocations: 2.406 kB / 0.8371 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.9306, allocations: 0.9032 MB / 0.8379 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/0.931, allocations: 271.2 kB / 0.8382 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.9311, allocations: 18.89 kB / 0.8382 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005442/0.9317, allocations: 69.2 kB / 0.8383 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.9318, allocations: 62.56 kB / 0.8383 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.386e-05/0.9319, allocations: 39.62 kB / 0.8384 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004972/0.9324, allocations: 428.2 kB / 0.8388 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9324, allocations: 0 / 0.8388 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009074/0.9333, allocations: 298.6 kB / 0.8391 GB, free: 12.14 MB / 0.6544 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.001452/0.9347, allocations: 0.6149 MB / 0.8397 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001665/0.9364, allocations: 0.821 MB / 0.8405 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9364, allocations: 0 / 0.8405 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008636/0.9373, allocations: 0.5175 MB / 0.841 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.9383, allocations: 299.5 kB / 0.8413 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.9418, allocations: 1.637 MB / 0.8429 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005465/0.9423, allocations: 0.9878 MB / 0.8438 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007971/0.9431, allocations: 264.6 kB / 0.8441 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.9434, allocations: 106.3 kB / 0.8442 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of SimCode: time 3.71e-07/0.9434, allocations: 1 kB / 0.8442 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of Templates: time 0.02241/0.9658, allocations: 14.64 MB / 0.8585 GB, free: 9.234 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (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 & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)