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.004554/0.004554, allocations: 100 kB / 15.73 MB, free: 6.023 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.001094/0.001094, allocations: 187.7 kB / 16.67 MB, free: 5.961 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002052/0.002052, allocations: 282.4 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9315/0.9315, allocations: 169.2 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 95.84 kB / 0.6814 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1564, allocations: 86.99 MB / 0.7664 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00573/0.1622, allocations: 4.416 MB / 0.7707 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4747/0.6369, allocations: 150.6 MB / 0.9177 GB, free: 7.617 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006055/0.6376, allocations: 15.94 kB / 0.9177 GB, free: 7.602 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004982/0.6381, allocations: 173.5 kB / 0.9179 GB, free: 7.434 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.6396, allocations: 0.5108 MB / 0.9184 GB, free: 6.941 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.6414, allocations: 0.8326 MB / 0.9192 GB, free: 6.137 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001295/0.6427, allocations: 1.347 MB / 0.9205 GB, free: 4.785 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007217/0.6434, allocations: 0.5648 MB / 0.9211 GB, free: 4.207 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005441/0.644, allocations: 481.4 kB / 0.9215 GB, free: 3.738 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005254/0.6445, allocations: 485.9 kB / 0.922 GB, free: 3.262 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001548/0.6447, allocations: 112 kB / 0.9221 GB, free: 3.152 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.6461, allocations: 0.8677 MB / 0.923 GB, free: 2.285 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002469/0.6463, allocations: 284 kB / 0.9232 GB, free: 2.008 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004319/0.6468, allocations: 0.5246 MB / 0.9237 GB, free: 1.48 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001816/0.6486, allocations: 1.775 MB / 0.9255 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6486, allocations: 4 kB / 0.9255 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6486, allocations: 0 / 0.9255 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.31e-05/0.6487, allocations: 0 / 0.9255 GB, free: 15.7 MB / 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.002426/0.6511, allocations: 1.443 MB / 0.9269 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.6511, allocations: 8.031 kB / 0.9269 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.6522, allocations: 215.4 kB / 0.9271 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.6534, allocations: 0.7587 MB / 0.9278 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.694e-05/0.6534, allocations: 58 kB / 0.9279 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.887e-05/0.6535, allocations: 68 kB / 0.928 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.6551, allocations: 0.8996 MB / 0.9288 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.6552, allocations: 8 kB / 0.9288 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.689e-05/0.6552, allocations: 32 kB / 0.9289 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.6553, allocations: 16 kB / 0.9289 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/0.6572, allocations: 1.124 MB / 0.93 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003714/0.661, allocations: 2.477 MB / 0.9324 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.6626, allocations: 0.8367 MB / 0.9332 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006725/0.6632, allocations: 331.4 kB / 0.9335 GB, free: 7.23 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.051e-05/0.6633, allocations: 32.61 kB / 0.9336 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009998/0.6643, allocations: 0.528 MB / 0.9341 GB, free: 6.652 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 3.657e-06/0.6643, allocations: 0 / 0.9341 GB, free: 6.652 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.003535/0.6679, allocations: 1.291 MB / 0.9353 GB, free: 5.332 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.668, allocations: 188.6 kB / 0.9355 GB, free: 5.105 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007365/0.6688, allocations: 0.6527 MB / 0.9362 GB, free: 4.449 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.185e-05/0.6689, allocations: 41.7 kB / 0.9362 GB, free: 4.402 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.6691, allocations: 376.5 kB / 0.9366 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.6693, allocations: 264.2 kB / 0.9368 GB, free: 3.766 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/0.6696, allocations: 170.5 kB / 0.937 GB, free: 3.594 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.6698, allocations: 390.7 kB / 0.9374 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006999/0.6705, allocations: 297.8 kB / 0.9376 GB, free: 2.914 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008131/0.6713, allocations: 403.9 kB / 0.938 GB, free: 2.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.6728, allocations: 0.6743 MB / 0.9387 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.6728, allocations: 4 kB / 0.9387 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002246/0.675, allocations: 0.919 MB / 0.9396 GB, free: 0.8867 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.6751, allocations: 4 kB / 0.9396 GB, free: 0.8828 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.6751, allocations: 0 / 0.9396 GB, free: 0.8828 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005911/0.6757, allocations: 88.89 kB / 0.9397 GB, free: 0.793 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007417/0.6764, allocations: 175.7 kB / 0.9398 GB, free: 0.6211 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.6786, allocations: 1.649 MB / 0.9414 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008795/0.6795, allocations: 111.9 kB / 0.9416 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-05/0.6796, allocations: 39.97 kB / 0.9416 GB, free: 14.69 MB / 0.7012 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.0005345/0.6802, allocations: 255.9 kB / 0.9418 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.6804, allocations: 94.84 kB / 0.9419 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002972/0.6834, allocations: 1.198 MB / 0.9431 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.6834, allocations: 8 kB / 0.9431 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.6834, allocations: 0 / 0.9431 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.6834, allocations: 11.97 kB / 0.9431 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.6844, allocations: 0.9111 MB / 0.944 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.6844, allocations: 3.938 kB / 0.944 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006871/0.6851, allocations: 159.8 kB / 0.9442 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004608/0.6856, allocations: 84.81 kB / 0.9442 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/0.6857, allocations: 23.98 kB / 0.9443 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/0.6876, allocations: 1.67 MB / 0.9459 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6876, allocations: 0 / 0.9459 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/0.6899, allocations: 1.002 MB / 0.9469 GB, free: 9.035 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004062/0.6903, allocations: 283.7 kB / 0.9471 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.6904, allocations: 20 kB / 0.9472 GB, free: 8.719 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006715/0.6911, allocations: 75.91 kB / 0.9472 GB, free: 8.645 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.6913, allocations: 68.89 kB / 0.9473 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.221e-05/0.6914, allocations: 39.98 kB / 0.9473 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005551/0.6919, allocations: 467 kB / 0.9478 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/0.692, allocations: 0 / 0.9478 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008273/0.6928, allocations: 323.3 kB / 0.9481 GB, free: 7.773 MB / 0.7012 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.001325/0.6941, allocations: 0.6219 MB / 0.9487 GB, free: 7.324 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002034/0.6962, allocations: 0.91 MB / 0.9496 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6962, allocations: 256 / 0.9496 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.6973, allocations: 0.5588 MB / 0.9501 GB, free: 5.828 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.6986, allocations: 293.4 kB / 0.9504 GB, free: 5.566 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00398/0.7025, allocations: 1.75 MB / 0.9521 GB, free: 3.789 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/0.7031, allocations: 1.016 MB / 0.9531 GB, free: 2.742 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009213/0.7041, allocations: 282.7 kB / 0.9534 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003037/0.7044, allocations: 115.4 kB / 0.9535 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of SimCode: time 4.61e-07/0.7044, allocations: 0 / 0.9535 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of Templates: time 0.02626/0.7307, allocations: 16.06 MB / 0.9692 GB, free: 2.473 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)