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.001103/0.001103, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001088/0.001088, allocations: 187.3 kB / 16.25 MB, free: 6.145 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.39/1.39, allocations: 222.9 MB / 239.9 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002202/0.002202, allocations: 286.2 kB / 290.4 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9647/0.9647, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 98.39 kB / 0.5947 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1491, allocations: 86.99 MB / 0.6796 GB, free: 1.094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006524/0.1556, allocations: 4.423 MB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4581/0.6137, allocations: 148.3 MB / 0.8288 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.6149, allocations: 16.09 kB / 0.8288 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007583/0.6157, allocations: 143.7 kB / 0.8289 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002189/0.6179, allocations: 460.4 kB / 0.8294 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002633/0.6205, allocations: 0.7478 MB / 0.8301 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002161/0.6227, allocations: 1.343 MB / 0.8314 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.624, allocations: 0.5623 MB / 0.832 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.625, allocations: 481.2 kB / 0.8324 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.6261, allocations: 493.8 kB / 0.8329 GB, free: 440 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003632/0.6265, allocations: 109.4 kB / 0.833 GB, free: 440 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002213/0.6287, allocations: 0.8436 MB / 0.8338 GB, free: 400 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004223/0.6291, allocations: 283.7 kB / 0.8341 GB, free: 356 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.6303, allocations: 0.5247 MB / 0.8346 GB, free: 188 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003031/0.6333, allocations: 1.737 MB / 0.8363 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.6333, allocations: 4 kB / 0.8363 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.512e-06/0.6333, allocations: 0 / 0.8363 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.048e-05/0.6334, allocations: 0 / 0.8363 GB, free: 15.94 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.003875/0.6373, allocations: 1.449 MB / 0.8377 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.6373, allocations: 9.5 kB / 0.8377 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.6387, allocations: 202 kB / 0.8379 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.64, allocations: 0.7355 MB / 0.8387 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.116e-05/0.6401, allocations: 60.25 kB / 0.8387 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.6403, allocations: 74.84 kB / 0.8388 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.6423, allocations: 0.8974 MB / 0.8397 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.6424, allocations: 1.719 kB / 0.8397 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.6425, allocations: 35.03 kB / 0.8397 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/0.6425, allocations: 18.59 kB / 0.8397 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002275/0.6448, allocations: 1.135 MB / 0.8408 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004429/0.6493, allocations: 2.493 MB / 0.8433 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.6509, allocations: 0.8284 MB / 0.8441 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007216/0.6517, allocations: 334.3 kB / 0.8444 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-05/0.6518, allocations: 39.72 kB / 0.8444 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/0.653, allocations: 0.5207 MB / 0.8449 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 3.376e-06/0.653, allocations: 0 / 0.8449 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003804/0.6568, allocations: 1.292 MB / 0.8462 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.657, allocations: 191.5 kB / 0.8464 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008738/0.6579, allocations: 0.6423 MB / 0.847 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.346e-05/0.658, allocations: 43.36 kB / 0.847 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/0.6583, allocations: 381.3 kB / 0.8474 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002605/0.6586, allocations: 265.6 kB / 0.8477 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003037/0.6589, allocations: 173 kB / 0.8478 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.6591, allocations: 394.6 kB / 0.8482 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006851/0.6598, allocations: 294 kB / 0.8485 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008074/0.6606, allocations: 405.6 kB / 0.8489 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.662, allocations: 0.6664 MB / 0.8495 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.662, allocations: 3.938 kB / 0.8495 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002402/0.6645, allocations: 0.9205 MB / 0.8504 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.6645, allocations: 4.969 kB / 0.8504 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.6645, allocations: 7.781 kB / 0.8504 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006236/0.6651, allocations: 81.42 kB / 0.8505 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007781/0.6659, allocations: 176 kB / 0.8507 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.6682, allocations: 1.653 MB / 0.8523 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009332/0.6692, allocations: 97.41 kB / 0.8524 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.134e-05/0.6693, allocations: 38.97 kB / 0.8524 GB, free: 6.121 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: 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.0005167/0.6698, allocations: 270.9 kB / 0.8527 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002281/0.67, allocations: 87.97 kB / 0.8528 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003025/0.6731, allocations: 1.204 MB / 0.8539 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.6731, allocations: 10.06 kB / 0.8539 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.6731, allocations: 0 / 0.8539 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.6731, allocations: 3.984 kB / 0.854 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.6743, allocations: 0.9221 MB / 0.8549 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.6743, allocations: 0 / 0.8549 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006954/0.675, allocations: 171 kB / 0.855 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004569/0.6755, allocations: 67.86 kB / 0.8551 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.789e-05/0.6755, allocations: 29.44 kB / 0.8551 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/0.6775, allocations: 1.67 MB / 0.8567 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.6775, allocations: 144 / 0.8567 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.6799, allocations: 1.007 MB / 0.8577 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004618/0.6804, allocations: 289.7 kB / 0.858 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.6806, allocations: 21.25 kB / 0.858 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007238/0.6813, allocations: 67.11 kB / 0.8581 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.6815, allocations: 75.95 kB / 0.8582 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-05/0.6816, allocations: 34.5 kB / 0.8582 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005836/0.6822, allocations: 471.5 kB / 0.8586 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.6822, allocations: 2.688 kB / 0.8586 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009444/0.6831, allocations: 315.3 kB / 0.8589 GB, free: 1.527 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: 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.001495/0.6846, allocations: 0.6196 MB / 0.8595 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002743/0.6874, allocations: 1.121 MB / 0.8606 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.6874, allocations: 2.5 kB / 0.8606 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.6884, allocations: 0.5563 MB / 0.8612 GB, free: 428 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.6897, allocations: 295.4 kB / 0.8615 GB, free: 280 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004222/0.694, allocations: 2.166 MB / 0.8636 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006237/0.6946, allocations: 1.017 MB / 0.8646 GB, free: 14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009785/0.6956, allocations: 283.5 kB / 0.8648 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/0.6959, allocations: 118.8 kB / 0.865 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.6959, allocations: 0 / 0.865 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of Templates: time 0.02569/0.7216, allocations: 15.45 MB / 0.8801 GB, free: 1.918 MB / 0.5919 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)