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.006164/0.006164, allocations: 99.95 kB / 15.73 MB, free: 6.473 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.001244/0.001244, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.58/1.58, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9659/0.9659, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 67.89 kB / 0.5856 GB, free: 3.367 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4742/0.4753, allocations: 80.91 MB / 0.6646 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005942/0.4813, allocations: 4.188 MB / 0.6687 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.181/0.6623, allocations: 150.5 MB / 0.8157 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.6635, allocations: 19.88 kB / 0.8157 GB, free: 6.387 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006143/0.6642, allocations: 170.4 kB / 0.8158 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.6659, allocations: 491.7 kB / 0.8163 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.6681, allocations: 0.804 MB / 0.8171 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001182/0.6693, allocations: 1.218 MB / 0.8183 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008232/0.6701, allocations: 0.5573 MB / 0.8188 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005165/0.6706, allocations: 426.5 kB / 0.8192 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004759/0.6711, allocations: 438 kB / 0.8196 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.6713, allocations: 96 kB / 0.8197 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.6727, allocations: 0.8582 MB / 0.8206 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.6729, allocations: 263.2 kB / 0.8208 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003892/0.6733, allocations: 477.4 kB / 0.8213 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.6751, allocations: 1.641 MB / 0.8229 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6752, allocations: 0 / 0.8229 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.724e-06/0.6752, allocations: 0 / 0.8229 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.703e-05/0.6752, allocations: 8 kB / 0.8229 GB, free: 14.96 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.002132/0.6773, allocations: 1.354 MB / 0.8242 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.6774, allocations: 8.031 kB / 0.8242 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.6786, allocations: 195.6 kB / 0.8244 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.6796, allocations: 0.7189 MB / 0.8251 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.389e-05/0.6797, allocations: 54 kB / 0.8252 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.665e-05/0.6798, allocations: 64 kB / 0.8252 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.6813, allocations: 0.8372 MB / 0.826 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.6814, allocations: 4 kB / 0.826 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.031e-05/0.6815, allocations: 32 kB / 0.8261 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.6815, allocations: 16 kB / 0.8261 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.6834, allocations: 1.081 MB / 0.8271 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003549/0.687, allocations: 2.325 MB / 0.8294 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.6884, allocations: 0.7375 MB / 0.8301 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006452/0.6891, allocations: 310.5 kB / 0.8304 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.656e-05/0.6892, allocations: 32.67 kB / 0.8305 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009585/0.6901, allocations: 460.3 kB / 0.8309 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 2.515e-06/0.6902, allocations: 0 / 0.8309 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.003471/0.6936, allocations: 1.17 MB / 0.832 GB, free: 5.328 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.6938, allocations: 188.6 kB / 0.8322 GB, free: 5.102 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007232/0.6945, allocations: 0.6017 MB / 0.8328 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.145e-05/0.6946, allocations: 41.7 kB / 0.8329 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.6948, allocations: 352.4 kB / 0.8332 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.6951, allocations: 240.5 kB / 0.8334 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/0.6954, allocations: 158.5 kB / 0.8336 GB, free: 3.699 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002193/0.6956, allocations: 390.7 kB / 0.8339 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006118/0.6962, allocations: 257.8 kB / 0.8342 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007072/0.6969, allocations: 367.9 kB / 0.8345 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.6982, allocations: 0.6158 MB / 0.8351 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.6983, allocations: 4 kB / 0.8351 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002042/0.7003, allocations: 0.8408 MB / 0.836 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.7003, allocations: 4 kB / 0.836 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.7003, allocations: 4.125 kB / 0.836 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006026/0.701, allocations: 80.78 kB / 0.836 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007006/0.7017, allocations: 167.8 kB / 0.8362 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.7037, allocations: 1.644 MB / 0.8378 GB, free: 15.16 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006661/0.7044, allocations: 87.44 kB / 0.8379 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.595e-05/0.7045, allocations: 39.97 kB / 0.8379 GB, free: 15.04 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: 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.0003924/0.7049, allocations: 251.7 kB / 0.8382 GB, free: 14.78 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.705, allocations: 75.06 kB / 0.8382 GB, free: 14.71 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002606/0.7077, allocations: 1.104 MB / 0.8393 GB, free: 13.59 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.7077, allocations: 8 kB / 0.8393 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.7077, allocations: 0 / 0.8393 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/0.7077, allocations: 3.984 kB / 0.8393 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009929/0.7087, allocations: 0.8564 MB / 0.8402 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.7087, allocations: 0 / 0.8402 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006417/0.7094, allocations: 159.8 kB / 0.8403 GB, free: 12.52 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004431/0.7098, allocations: 72.78 kB / 0.8404 GB, free: 12.44 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.493e-05/0.7099, allocations: 23.98 kB / 0.8404 GB, free: 12.42 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.7117, allocations: 1.666 MB / 0.842 GB, free: 10.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7118, allocations: 0 / 0.842 GB, free: 10.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/0.7138, allocations: 0.9005 MB / 0.8429 GB, free: 9.676 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003437/0.7142, allocations: 263.8 kB / 0.8432 GB, free: 9.398 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.7143, allocations: 19.91 kB / 0.8432 GB, free: 9.379 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005966/0.7149, allocations: 62.11 kB / 0.8433 GB, free: 9.32 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.7151, allocations: 69.05 kB / 0.8433 GB, free: 9.254 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.932e-05/0.7151, allocations: 31.98 kB / 0.8434 GB, free: 9.223 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005873/0.7157, allocations: 431 kB / 0.8438 GB, free: 8.805 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7157, allocations: 0 / 0.8438 GB, free: 8.805 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008795/0.7166, allocations: 295.4 kB / 0.844 GB, free: 8.516 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.001592/0.7182, allocations: 0.6153 MB / 0.8446 GB, free: 8.066 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002029/0.7203, allocations: 0.8194 MB / 0.8454 GB, free: 7.234 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7203, allocations: 4.25 kB / 0.8454 GB, free: 7.23 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.7213, allocations: 0.5158 MB / 0.846 GB, free: 6.703 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.7225, allocations: 299.9 kB / 0.8462 GB, free: 6.438 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004001/0.7265, allocations: 1.64 MB / 0.8478 GB, free: 4.77 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006611/0.7272, allocations: 0.995 MB / 0.8488 GB, free: 3.746 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008631/0.7281, allocations: 266.2 kB / 0.8491 GB, free: 3.48 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.7284, allocations: 103.4 kB / 0.8492 GB, free: 3.379 MB / 0.67 GB Notification: Performance of SimCode: time 5.21e-07/0.7284, allocations: 0 / 0.8492 GB, free: 3.379 MB / 0.67 GB Notification: Performance of Templates: time 0.02333/0.7517, allocations: 14.63 MB / 0.8635 GB, free: 4.91 MB / 0.6856 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 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)