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: translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001171/0.001171, allocations: 102.4 kB / 16.36 MB, free: 5.824 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.001256/0.001256, allocations: 193.5 kB / 17.29 MB, free: 5.48 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7688/0.7688, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 67.89 kB / 0.5067 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4062, allocations: 80.91 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006024/0.4123, allocations: 4.192 MB / 0.5898 GB, free: 22.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1649/0.5772, allocations: 150.5 MB / 0.7368 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007223/0.578, allocations: 19.88 kB / 0.7368 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005023/0.5785, allocations: 170.4 kB / 0.737 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.5799, allocations: 481.1 kB / 0.7374 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.5816, allocations: 0.7962 MB / 0.7382 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001099/0.5827, allocations: 1.214 MB / 0.7394 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007131/0.5835, allocations: 0.5578 MB / 0.7399 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004712/0.5839, allocations: 422.5 kB / 0.7403 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004644/0.5844, allocations: 434 kB / 0.7407 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.5845, allocations: 100 kB / 0.7408 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.5858, allocations: 0.8583 MB / 0.7417 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002217/0.5861, allocations: 259.1 kB / 0.7419 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003862/0.5865, allocations: 493.4 kB / 0.7424 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.5882, allocations: 1.63 MB / 0.744 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5882, allocations: 0 / 0.744 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5882, allocations: 0 / 0.744 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.5882, allocations: 0 / 0.744 GB, free: 7.945 MB / 0.5762 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.002171/0.5904, allocations: 1.354 MB / 0.7453 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.5904, allocations: 13.11 kB / 0.7453 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.5916, allocations: 199.4 kB / 0.7455 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.5927, allocations: 0.7228 MB / 0.7462 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.694e-05/0.5928, allocations: 50 kB / 0.7463 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.5929, allocations: 68 kB / 0.7463 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.5943, allocations: 0.8333 MB / 0.7471 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.5944, allocations: 0 / 0.7471 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.565e-05/0.5944, allocations: 28 kB / 0.7472 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.5945, allocations: 19.98 kB / 0.7472 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.5963, allocations: 1.092 MB / 0.7483 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003514/0.5998, allocations: 2.331 MB / 0.7505 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.6012, allocations: 0.7414 MB / 0.7513 GB, free: 284 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3329/0.9341, allocations: 299.6 kB / 0.7515 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/0.9344, allocations: 31.11 kB / 0.7516 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001745/0.9361, allocations: 458.5 kB / 0.752 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 4.859e-06/0.9361, allocations: 0.5312 kB / 0.752 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.004464/0.9406, allocations: 1.166 MB / 0.7532 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.097e-05/0.9407, allocations: 194.4 kB / 0.7533 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.9418, allocations: 0.6038 MB / 0.7539 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.503e-05/0.9419, allocations: 38.08 kB / 0.754 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.9423, allocations: 358.6 kB / 0.7543 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.9425, allocations: 240.6 kB / 0.7545 GB, free: 164 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003802/0.9429, allocations: 157 kB / 0.7547 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.9431, allocations: 379.6 kB / 0.755 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007754/0.9439, allocations: 267.6 kB / 0.7553 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008763/0.9447, allocations: 362 kB / 0.7556 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.9463, allocations: 0.6123 MB / 0.7562 GB, free: 163 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.9463, allocations: 1.75 kB / 0.7562 GB, free: 163 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002461/0.9488, allocations: 0.843 MB / 0.7571 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.9488, allocations: 6.125 kB / 0.7571 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.9488, allocations: 1.344 kB / 0.7571 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006317/0.9494, allocations: 86.72 kB / 0.7572 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007504/0.9502, allocations: 159.1 kB / 0.7573 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.9522, allocations: 1.648 MB / 0.7589 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007767/0.953, allocations: 85.89 kB / 0.759 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.9531, allocations: 41.41 kB / 0.759 GB, free: 161.1 MB / 0.5762 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.0004904/0.9536, allocations: 261.8 kB / 0.7593 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002682/0.9539, allocations: 78.16 kB / 0.7594 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003049/0.9569, allocations: 1.104 MB / 0.7604 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.9569, allocations: 12.62 kB / 0.7605 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.957, allocations: 0.5 kB / 0.7605 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.957, allocations: 7.969 kB / 0.7605 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009832/0.958, allocations: 0.8299 MB / 0.7613 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.958, allocations: 4 kB / 0.7613 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000586/0.9586, allocations: 155.2 kB / 0.7614 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004453/0.959, allocations: 72.12 kB / 0.7615 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.713e-05/0.9591, allocations: 26.27 kB / 0.7615 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.9608, allocations: 1.672 MB / 0.7632 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.9608, allocations: 0.9375 kB / 0.7632 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.9628, allocations: 0.9096 MB / 0.764 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003971/0.9632, allocations: 261.2 kB / 0.7643 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.9633, allocations: 17.31 kB / 0.7643 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005644/0.9638, allocations: 62.09 kB / 0.7644 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.964, allocations: 69.19 kB / 0.7644 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.999e-05/0.9641, allocations: 33.38 kB / 0.7645 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006541/0.9648, allocations: 434.1 kB / 0.7649 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9648, allocations: 1.469 kB / 0.7649 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001546/0.9663, allocations: 303.6 kB / 0.7652 GB, free: 157.1 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.001609/0.9679, allocations: 0.6149 MB / 0.7658 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001785/0.9697, allocations: 0.8225 MB / 0.7666 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.9698, allocations: 0 / 0.7666 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008013/0.9706, allocations: 0.5128 MB / 0.7671 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009481/0.9715, allocations: 286.1 kB / 0.7673 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/0.9747, allocations: 1.637 MB / 0.7689 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.9751, allocations: 0.9866 MB / 0.7699 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006876/0.9758, allocations: 264 kB / 0.7702 GB, free: 153 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.9761, allocations: 111.4 kB / 0.7703 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.223e-06/0.9761, allocations: 0 / 0.7703 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.01967/0.9957, allocations: 14.49 MB / 0.7844 GB, free: 138.6 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (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 & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)