Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") translateModel(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00437/0.00437, allocations: 114.3 kB / 15.71 MB, free: 6.047 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.001027/0.001028, allocations: 190.7 kB / 16.64 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.262/1.262, allocations: 222.9 MB / 240.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002116/0.002116, allocations: 297.4 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9121/0.9121, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.001651, allocations: 99.84 kB / 0.6814 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3868, allocations: 86.96 MB / 0.7663 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005439/0.3923, allocations: 4.431 MB / 0.7706 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1526/0.5449, allocations: 150.6 MB / 0.9177 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007435/0.5457, allocations: 15.94 kB / 0.9177 GB, free: 8.281 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007004/0.5464, allocations: 170.3 kB / 0.9178 GB, free: 8.113 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.5481, allocations: 0.5106 MB / 0.9183 GB, free: 7.605 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.5499, allocations: 0.8369 MB / 0.9192 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001145/0.551, allocations: 1.347 MB / 0.9205 GB, free: 5.422 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007068/0.5517, allocations: 0.566 MB / 0.921 GB, free: 4.832 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004642/0.5522, allocations: 470.4 kB / 0.9215 GB, free: 4.371 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004874/0.5527, allocations: 489.8 kB / 0.9219 GB, free: 3.891 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.5528, allocations: 112 kB / 0.9221 GB, free: 3.781 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.554, allocations: 0.87 MB / 0.9229 GB, free: 2.91 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002417/0.5543, allocations: 279.1 kB / 0.9232 GB, free: 2.637 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004074/0.5547, allocations: 0.5284 MB / 0.9237 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.5563, allocations: 1.771 MB / 0.9254 GB, free: 340 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.5563, allocations: 4 kB / 0.9254 GB, free: 336 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5563, allocations: 0 / 0.9254 GB, free: 336 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.5564, allocations: 0 / 0.9254 GB, free: 336 kB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002258/0.5586, allocations: 1.44 MB / 0.9268 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.5587, allocations: 16.02 kB / 0.9268 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.5598, allocations: 207.4 kB / 0.927 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.5608, allocations: 0.7624 MB / 0.9278 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.467e-05/0.5609, allocations: 58 kB / 0.9278 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.905e-05/0.561, allocations: 71.94 kB / 0.9279 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.5625, allocations: 0.8997 MB / 0.9288 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.5625, allocations: 4 kB / 0.9288 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.68e-05/0.5626, allocations: 32 kB / 0.9288 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.5626, allocations: 16 kB / 0.9288 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.5646, allocations: 1.124 MB / 0.9299 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003435/0.568, allocations: 2.473 MB / 0.9323 GB, free: 9.012 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.5696, allocations: 0.8352 MB / 0.9332 GB, free: 8.176 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006762/0.5703, allocations: 338.6 kB / 0.9335 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.219e-05/0.5704, allocations: 24.62 kB / 0.9335 GB, free: 7.82 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009823/0.5713, allocations: 0.5379 MB / 0.934 GB, free: 7.266 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.144e-06/0.5714, allocations: 0 / 0.934 GB, free: 7.266 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.0035/0.5749, allocations: 1.287 MB / 0.9353 GB, free: 5.949 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.565e-05/0.575, allocations: 192.6 kB / 0.9355 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007665/0.5758, allocations: 0.6526 MB / 0.9361 GB, free: 5.062 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.289e-05/0.5758, allocations: 41.7 kB / 0.9362 GB, free: 5.016 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.5761, allocations: 376.5 kB / 0.9365 GB, free: 4.641 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.5763, allocations: 268.2 kB / 0.9368 GB, free: 4.375 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/0.5766, allocations: 166.5 kB / 0.9369 GB, free: 4.207 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.5767, allocations: 390.7 kB / 0.9373 GB, free: 3.816 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006698/0.5774, allocations: 297.8 kB / 0.9376 GB, free: 3.527 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007901/0.5782, allocations: 403.9 kB / 0.938 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.5796, allocations: 0.6666 MB / 0.9386 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5796, allocations: 8 kB / 0.9386 GB, free: 2.43 MB / 0.7012 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00219/0.5818, allocations: 0.9151 MB / 0.9395 GB, free: 1.504 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.5819, allocations: 4 kB / 0.9395 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5819, allocations: 4 kB / 0.9395 GB, free: 1.496 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005611/0.5824, allocations: 84.89 kB / 0.9396 GB, free: 1.41 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007312/0.5832, allocations: 175.7 kB / 0.9398 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.5851, allocations: 1.646 MB / 0.9414 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007384/0.5859, allocations: 99.42 kB / 0.9415 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.02e-05/0.586, allocations: 39.97 kB / 0.9415 GB, free: 15.31 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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.0003635/0.5863, allocations: 270.9 kB / 0.9418 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.5865, allocations: 94.97 kB / 0.9419 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002714/0.5892, allocations: 1.202 MB / 0.943 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.5892, allocations: 8 kB / 0.943 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5892, allocations: 4 kB / 0.9431 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.5893, allocations: 11.91 kB / 0.9431 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009439/0.5902, allocations: 0.9035 MB / 0.9439 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.5902, allocations: 0 / 0.9439 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006501/0.5909, allocations: 159.8 kB / 0.9441 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004335/0.5913, allocations: 84.77 kB / 0.9442 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.423e-05/0.5914, allocations: 23.98 kB / 0.9442 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/0.5931, allocations: 1.674 MB / 0.9458 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5931, allocations: 0 / 0.9458 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/0.5953, allocations: 1.002 MB / 0.9468 GB, free: 9.637 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.5956, allocations: 283.7 kB / 0.9471 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.5957, allocations: 16 kB / 0.9471 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006511/0.5964, allocations: 75.91 kB / 0.9472 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.5965, allocations: 72.89 kB / 0.9472 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.739e-05/0.5966, allocations: 39.98 kB / 0.9473 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005185/0.5971, allocations: 463 kB / 0.9477 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5971, allocations: 3.938 kB / 0.9477 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008093/0.5979, allocations: 327.3 kB / 0.948 GB, free: 8.371 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 5 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001283/0.5992, allocations: 0.6135 MB / 0.9486 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001897/0.6011, allocations: 0.9053 MB / 0.9495 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.6011, allocations: 4.25 kB / 0.9495 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.6022, allocations: 0.5587 MB / 0.9501 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.6033, allocations: 297.4 kB / 0.9504 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/0.607, allocations: 1.755 MB / 0.9521 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005435/0.6075, allocations: 1.02 MB / 0.9531 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007952/0.6083, allocations: 270.9 kB / 0.9533 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/0.6086, allocations: 115.4 kB / 0.9534 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of SimCode: time 4.8e-07/0.6086, allocations: 0 / 0.9534 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of Templates: time 0.3202/0.9288, allocations: 15.59 MB / 0.9687 GB, free: 183.6 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)