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.006392/0.006392, allocations: 100.4 kB / 15.73 MB, free: 6.008 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.001584/0.001585, allocations: 198.8 kB / 16.68 MB, free: 5.926 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.796/0.796, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 65.92 kB / 0.5813 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2084, allocations: 80.2 MB / 0.6596 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006402/0.2149, allocations: 4.195 MB / 0.6637 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6783/0.8933, allocations: 150.5 MB / 0.8107 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.8946, allocations: 20.88 kB / 0.8107 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007368/0.8954, allocations: 165.6 kB / 0.8109 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001823/0.8973, allocations: 492.1 kB / 0.8113 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.8993, allocations: 0.7906 MB / 0.8121 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00143/0.9007, allocations: 1.227 MB / 0.8133 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009912/0.9017, allocations: 0.5572 MB / 0.8138 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008002/0.9025, allocations: 430.7 kB / 0.8143 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006219/0.9032, allocations: 432.5 kB / 0.8147 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001728/0.9033, allocations: 94.97 kB / 0.8148 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.9053, allocations: 0.8547 MB / 0.8156 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002832/0.9056, allocations: 262.1 kB / 0.8158 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005061/0.9061, allocations: 489.5 kB / 0.8163 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002595/0.9087, allocations: 1.637 MB / 0.8179 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/0.9087, allocations: 0 / 0.8179 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9087, allocations: 7.938 kB / 0.8179 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.232e-05/0.9087, allocations: 2.938 kB / 0.8179 GB, free: 9.848 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.002556/0.9113, allocations: 1.348 MB / 0.8192 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.22e-05/0.9114, allocations: 10.5 kB / 0.8192 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.9127, allocations: 197.7 kB / 0.8194 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.9142, allocations: 0.7223 MB / 0.8201 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.565e-05/0.9143, allocations: 50.81 kB / 0.8202 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.9144, allocations: 69.28 kB / 0.8202 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.9162, allocations: 0.8308 MB / 0.8211 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.9162, allocations: 2.5 kB / 0.8211 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-05/0.9163, allocations: 27.88 kB / 0.8211 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.9164, allocations: 15.34 kB / 0.8211 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002087/0.9185, allocations: 1.08 MB / 0.8222 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003756/0.9222, allocations: 2.327 MB / 0.8244 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.9237, allocations: 0.7393 MB / 0.8252 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006525/0.9244, allocations: 301.9 kB / 0.8254 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.512e-05/0.9245, allocations: 39.52 kB / 0.8255 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009529/0.9254, allocations: 461.1 kB / 0.8259 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=73): time 2.705e-06/0.9254, allocations: 0 / 0.8259 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of matching and sorting (n=73): time 0.003546/0.929, allocations: 1.173 MB / 0.8271 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.9291, allocations: 191.4 kB / 0.8272 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008082/0.93, allocations: 0.6012 MB / 0.8278 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.345e-05/0.93, allocations: 39.3 kB / 0.8279 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/0.9304, allocations: 354.9 kB / 0.8282 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000258/0.9307, allocations: 240 kB / 0.8284 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/0.9309, allocations: 158.8 kB / 0.8286 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0003363/0.9313, allocations: 388.8 kB / 0.829 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000634/0.9319, allocations: 262.9 kB / 0.8292 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007449/0.9327, allocations: 367.5 kB / 0.8296 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.9341, allocations: 0.611 MB / 0.8302 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.9341, allocations: 0 / 0.8302 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002237/0.9364, allocations: 0.8412 MB / 0.831 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.9364, allocations: 6.562 kB / 0.831 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.9365, allocations: 6.125 kB / 0.831 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006041/0.9371, allocations: 81.41 kB / 0.8311 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007099/0.9378, allocations: 166.6 kB / 0.8312 GB, free: 0.9961 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/0.9403, allocations: 1.649 MB / 0.8328 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007716/0.9411, allocations: 83.03 kB / 0.8329 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-05/0.9411, allocations: 34.53 kB / 0.833 GB, free: 15.31 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: 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.0005608/0.9417, allocations: 252.2 kB / 0.8332 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/0.9419, allocations: 76.69 kB / 0.8333 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00294/0.9449, allocations: 1.104 MB / 0.8343 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.9449, allocations: 9.562 kB / 0.8344 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.9449, allocations: 0 / 0.8344 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.945, allocations: 3.984 kB / 0.8344 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.9464, allocations: 0.8497 MB / 0.8352 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.9464, allocations: 4 kB / 0.8352 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006517/0.947, allocations: 153.7 kB / 0.8353 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004741/0.9475, allocations: 74.78 kB / 0.8354 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.28e-05/0.9476, allocations: 27.36 kB / 0.8354 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002224/0.9498, allocations: 1.675 MB / 0.8371 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.9499, allocations: 3.938 kB / 0.8371 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.9522, allocations: 0.8973 MB / 0.838 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004948/0.9527, allocations: 268.3 kB / 0.8382 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.9529, allocations: 17.59 kB / 0.8382 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006537/0.9536, allocations: 69.48 kB / 0.8383 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.9538, allocations: 63.78 kB / 0.8384 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.964e-05/0.9538, allocations: 32.14 kB / 0.8384 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000756/0.9546, allocations: 433.4 kB / 0.8388 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9546, allocations: 2.062 kB / 0.8388 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001231/0.9559, allocations: 295.7 kB / 0.8391 GB, free: 10.94 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.001894/0.9578, allocations: 0.6128 MB / 0.8397 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00216/0.9599, allocations: 0.8262 MB / 0.8405 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.96, allocations: 0 / 0.8405 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.9611, allocations: 0.5103 MB / 0.841 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.9626, allocations: 293.8 kB / 0.8413 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004763/0.9674, allocations: 1.644 MB / 0.8429 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008711/0.9683, allocations: 0.9916 MB / 0.8438 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009674/0.9693, allocations: 262.3 kB / 0.8441 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/0.9695, allocations: 107.4 kB / 0.8442 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of SimCode: time 1.313e-06/0.9696, allocations: 0 / 0.8442 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of Templates: time 0.03081/1, allocations: 14.64 MB / 0.8585 GB, free: 8.922 MB / 0.6231 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)