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.001747/0.001747, allocations: 105.2 kB / 16.41 MB, free: 6.469 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.00148/0.00148, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002236/0.002235, allocations: 291.5 kB / 291.5 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.9344/0.9344, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 95.84 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5197/0.5217, allocations: 86.98 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.006507/0.5283, allocations: 4.428 MB / 0.7713 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1745/0.7028, allocations: 150.6 MB / 0.9184 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.704, allocations: 19.88 kB / 0.9184 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000949/0.7049, allocations: 174.3 kB / 0.9186 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002426/0.7074, allocations: 0.5099 MB / 0.9191 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002697/0.7101, allocations: 0.8324 MB / 0.9199 GB, free: 6.809 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002136/0.7123, allocations: 1.343 MB / 0.9212 GB, free: 5.461 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.7135, allocations: 0.5699 MB / 0.9217 GB, free: 4.867 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008769/0.7144, allocations: 474.4 kB / 0.9222 GB, free: 4.402 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008801/0.7153, allocations: 493.8 kB / 0.9227 GB, free: 3.918 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003171/0.7156, allocations: 108 kB / 0.9228 GB, free: 3.812 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.7176, allocations: 0.8777 MB / 0.9236 GB, free: 2.934 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003986/0.718, allocations: 283.1 kB / 0.9239 GB, free: 2.656 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008746/0.7189, allocations: 0.5168 MB / 0.9244 GB, free: 2.137 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003077/0.722, allocations: 1.775 MB / 0.9261 GB, free: 368 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.548e-05/0.722, allocations: 0 / 0.9261 GB, free: 368 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.027e-05/0.7221, allocations: 0 / 0.9261 GB, free: 368 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.273e-05/0.7221, allocations: 3.938 kB / 0.9261 GB, free: 364 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.003725/0.7259, allocations: 1.442 MB / 0.9275 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 7.8e-05/0.7259, allocations: 12.03 kB / 0.9276 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.7272, allocations: 203.4 kB / 0.9278 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.7288, allocations: 0.7663 MB / 0.9285 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.207e-05/0.7289, allocations: 58 kB / 0.9286 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.7291, allocations: 76 kB / 0.9286 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.7309, allocations: 0.9035 MB / 0.9295 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.731, allocations: 4 kB / 0.9295 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.722e-05/0.7311, allocations: 32 kB / 0.9295 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.7311, allocations: 16 kB / 0.9296 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.7333, allocations: 1.128 MB / 0.9307 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004654/0.7379, allocations: 2.468 MB / 0.9331 GB, free: 9.035 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.7398, allocations: 0.8313 MB / 0.9339 GB, free: 8.203 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007596/0.7406, allocations: 330.7 kB / 0.9342 GB, free: 7.879 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.483e-05/0.7407, allocations: 40.59 kB / 0.9342 GB, free: 7.84 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/0.7418, allocations: 0.528 MB / 0.9348 GB, free: 7.293 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 3.436e-06/0.7418, allocations: 0 / 0.9348 GB, free: 7.293 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003972/0.7458, allocations: 1.291 MB / 0.936 GB, free: 5.973 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.7459, allocations: 188.6 kB / 0.9362 GB, free: 5.746 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.747, allocations: 0.6449 MB / 0.9368 GB, free: 5.098 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.7471, allocations: 45.7 kB / 0.9369 GB, free: 5.047 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003784/0.7475, allocations: 368.6 kB / 0.9372 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/0.7478, allocations: 264.2 kB / 0.9375 GB, free: 4.418 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003033/0.7481, allocations: 174.5 kB / 0.9376 GB, free: 4.242 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.7483, allocations: 394.7 kB / 0.938 GB, free: 3.848 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000709/0.749, allocations: 297.8 kB / 0.9383 GB, free: 3.559 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008458/0.7499, allocations: 411.8 kB / 0.9387 GB, free: 3.137 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.7514, allocations: 0.6666 MB / 0.9393 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.7514, allocations: 0 / 0.9393 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002558/0.754, allocations: 0.919 MB / 0.9402 GB, free: 1.531 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.754, allocations: 7.984 kB / 0.9402 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.754, allocations: 0 / 0.9402 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006197/0.7547, allocations: 80.91 kB / 0.9403 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007907/0.7555, allocations: 183.8 kB / 0.9405 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/0.758, allocations: 1.65 MB / 0.9421 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009837/0.7591, allocations: 99.44 kB / 0.9422 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.7592, allocations: 35.97 kB / 0.9422 GB, free: 15.34 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.000626/0.7598, allocations: 271.8 kB / 0.9425 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002821/0.7601, allocations: 82.97 kB / 0.9426 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003288/0.7634, allocations: 1.206 MB / 0.9438 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.7635, allocations: 8 kB / 0.9438 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.7635, allocations: 0 / 0.9438 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.7635, allocations: 7.969 kB / 0.9438 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.7651, allocations: 0.9113 MB / 0.9447 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.7651, allocations: 4 kB / 0.9447 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007791/0.7659, allocations: 159.8 kB / 0.9448 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004858/0.7664, allocations: 72.72 kB / 0.9449 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.573e-05/0.7665, allocations: 35.97 kB / 0.9449 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002347/0.7688, allocations: 1.666 MB / 0.9466 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.7688, allocations: 0 / 0.9466 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002664/0.7715, allocations: 1.01 MB / 0.9475 GB, free: 9.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005243/0.7721, allocations: 279.7 kB / 0.9478 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/0.7723, allocations: 20 kB / 0.9478 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008126/0.7731, allocations: 74.73 kB / 0.9479 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.7733, allocations: 72.89 kB / 0.948 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-05/0.7734, allocations: 39.97 kB / 0.948 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006928/0.7741, allocations: 463 kB / 0.9484 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7741, allocations: 4 kB / 0.9484 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001089/0.7752, allocations: 327.3 kB / 0.9488 GB, free: 8.398 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.001639/0.7769, allocations: 0.6202 MB / 0.9494 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00227/0.7791, allocations: 0.9055 MB / 0.9502 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7792, allocations: 0 / 0.9502 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.7804, allocations: 0.5471 MB / 0.9508 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.7817, allocations: 299.6 kB / 0.9511 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004496/0.7862, allocations: 1.792 MB / 0.9528 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008186/0.7871, allocations: 1.024 MB / 0.9538 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004466/0.7875, allocations: 119.4 kB / 0.9539 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of SimCode: time 2.665e-06/0.7875, allocations: 4 kB / 0.9539 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of Templates: time 0.4384/1.226, allocations: 18.99 MB / 0.9725 GB, free: 179.8 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)