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.001778/0.001778, allocations: 104.5 kB / 16.41 MB, free: 6.449 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.002024/0.002023, allocations: 188.1 kB / 17.34 MB, free: 5.719 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.37/1.37, allocations: 222.9 MB / 241 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.002256/0.002256, allocations: 288 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9591/0.9591, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 91.84 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4988/0.5008, allocations: 86.99 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006728/0.5076, allocations: 4.416 MB / 0.7713 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1773/0.6849, allocations: 150.6 MB / 0.9184 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.6861, allocations: 19.88 kB / 0.9184 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0009082/0.687, allocations: 170.3 kB / 0.9186 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.6896, allocations: 0.5136 MB / 0.9191 GB, free: 7.621 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002451/0.6921, allocations: 0.8381 MB / 0.9199 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001959/0.6941, allocations: 1.339 MB / 0.9212 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.6952, allocations: 0.566 MB / 0.9217 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009607/0.6962, allocations: 470.4 kB / 0.9222 GB, free: 4.395 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009342/0.6972, allocations: 493.8 kB / 0.9227 GB, free: 3.91 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003722/0.6975, allocations: 112 kB / 0.9228 GB, free: 3.801 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001973/0.6995, allocations: 0.8738 MB / 0.9236 GB, free: 2.926 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004436/0.7, allocations: 279.1 kB / 0.9239 GB, free: 2.652 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008382/0.7008, allocations: 0.5285 MB / 0.9244 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003253/0.7041, allocations: 1.775 MB / 0.9261 GB, free: 352 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.7041, allocations: 0 / 0.9261 GB, free: 352 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7041, allocations: 0 / 0.9261 GB, free: 352 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.506e-05/0.7042, allocations: 0 / 0.9261 GB, free: 352 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.00387/0.7081, allocations: 1.449 MB / 0.9276 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.7081, allocations: 19.95 kB / 0.9276 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.7095, allocations: 203.4 kB / 0.9278 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.7111, allocations: 0.7586 MB / 0.9285 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-05/0.7112, allocations: 58 kB / 0.9286 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.7114, allocations: 72 kB / 0.9286 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.7133, allocations: 0.9073 MB / 0.9295 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.7134, allocations: 0 / 0.9295 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.907e-05/0.7135, allocations: 32 kB / 0.9295 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.7135, allocations: 16 kB / 0.9296 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/0.7157, allocations: 1.128 MB / 0.9307 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004884/0.7206, allocations: 2.464 MB / 0.9331 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.7225, allocations: 0.8391 MB / 0.9339 GB, free: 8.188 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007286/0.7232, allocations: 338.7 kB / 0.9342 GB, free: 7.855 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-05/0.7233, allocations: 20.62 kB / 0.9342 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001133/0.7245, allocations: 0.5319 MB / 0.9348 GB, free: 7.285 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 3.166e-06/0.7245, allocations: 0 / 0.9348 GB, free: 7.285 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003834/0.7283, allocations: 1.287 MB / 0.936 GB, free: 5.969 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.7285, allocations: 196.6 kB / 0.9362 GB, free: 5.734 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.7296, allocations: 0.641 MB / 0.9368 GB, free: 5.09 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.202e-05/0.7297, allocations: 45.64 kB / 0.9369 GB, free: 5.039 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003837/0.7301, allocations: 376.5 kB / 0.9372 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/0.7303, allocations: 272.2 kB / 0.9375 GB, free: 4.395 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/0.7306, allocations: 170.5 kB / 0.9376 GB, free: 4.223 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.7308, allocations: 390.7 kB / 0.938 GB, free: 3.832 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007342/0.7316, allocations: 297.8 kB / 0.9383 GB, free: 3.543 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008273/0.7324, allocations: 407.9 kB / 0.9387 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.7339, allocations: 0.6666 MB / 0.9393 GB, free: 2.449 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.7339, allocations: 4 kB / 0.9393 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002521/0.7365, allocations: 0.919 MB / 0.9402 GB, free: 1.516 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.7365, allocations: 4 kB / 0.9403 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.7365, allocations: 4 kB / 0.9403 GB, free: 1.508 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006316/0.7371, allocations: 84.89 kB / 0.9403 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007889/0.7379, allocations: 171.8 kB / 0.9405 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/0.7404, allocations: 1.654 MB / 0.9421 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00095/0.7413, allocations: 97.7 kB / 0.9422 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.7415, allocations: 39.97 kB / 0.9422 GB, free: 15.32 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.0005924/0.7421, allocations: 274.3 kB / 0.9425 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003524/0.7424, allocations: 86.97 kB / 0.9426 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002921/0.7453, allocations: 1.198 MB / 0.9438 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.7454, allocations: 8 kB / 0.9438 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.7454, allocations: 8 kB / 0.9438 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.7454, allocations: 11.91 kB / 0.9438 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.7467, allocations: 0.8996 MB / 0.9447 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.7467, allocations: 0 / 0.9447 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007129/0.7474, allocations: 167.7 kB / 0.9448 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/0.7479, allocations: 76.78 kB / 0.9449 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.367e-05/0.748, allocations: 23.98 kB / 0.9449 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/0.75, allocations: 1.677 MB / 0.9466 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7501, allocations: 0 / 0.9466 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.7525, allocations: 1.002 MB / 0.9475 GB, free: 9.652 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004688/0.7529, allocations: 279.7 kB / 0.9478 GB, free: 9.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/0.7532, allocations: 20 kB / 0.9478 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007246/0.7539, allocations: 79.84 kB / 0.9479 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/0.7541, allocations: 76.89 kB / 0.948 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.702e-05/0.7542, allocations: 31.98 kB / 0.948 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000682/0.7549, allocations: 467 kB / 0.9484 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7549, allocations: 0 / 0.9484 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001011/0.7559, allocations: 323.3 kB / 0.9488 GB, free: 8.391 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.001553/0.7574, allocations: 0.6189 MB / 0.9494 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002169/0.7596, allocations: 0.9094 MB / 0.9502 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.7596, allocations: 4 kB / 0.9503 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.7608, allocations: 0.5471 MB / 0.9508 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.762, allocations: 292.8 kB / 0.9511 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004364/0.7664, allocations: 1.801 MB / 0.9528 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007456/0.7672, allocations: 1.02 MB / 0.9538 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/0.7676, allocations: 131.4 kB / 0.9539 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of SimCode: time 7.52e-07/0.7676, allocations: 0 / 0.9539 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of Templates: time 0.459/1.227, allocations: 19.12 MB / 0.9726 GB, free: 179.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)