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.001003/0.001003, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001227/0.001227, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001748/0.001748, allocations: 275 kB / 291.4 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.965/0.965, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004119/0.0004119, allocations: 12.69 kB / 0.598 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1724, allocations: 88.54 MB / 0.6845 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00423/0.1767, allocations: 3.809 MB / 0.6882 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4643/0.6409, allocations: 136.8 MB / 0.8217 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008073/0.6418, allocations: 13.69 kB / 0.8218 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006017/0.6424, allocations: 133.9 kB / 0.8219 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.6441, allocations: 436.1 kB / 0.8223 GB, free: 364 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.6461, allocations: 0.6258 MB / 0.8229 GB, free: 216 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001599/0.6477, allocations: 1.159 MB / 0.824 GB, free: 8 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009012/0.6486, allocations: 412.8 kB / 0.8244 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008154/0.6494, allocations: 343 kB / 0.8248 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000766/0.6502, allocations: 373.7 kB / 0.8251 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002313/0.6504, allocations: 30.12 kB / 0.8252 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001707/0.6521, allocations: 0.7153 MB / 0.8258 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003571/0.6525, allocations: 183 kB / 0.826 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003796/0.6529, allocations: 191 kB / 0.8262 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.6547, allocations: 1.269 MB / 0.8274 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.6547, allocations: 1.062 kB / 0.8274 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6547, allocations: 0 / 0.8274 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.35e-05/0.6548, allocations: 0 / 0.8274 GB, free: 14.76 MB / 0.5606 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.003109/0.6579, allocations: 1.263 MB / 0.8287 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.6579, allocations: 12.36 kB / 0.8287 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/0.6592, allocations: 219.5 kB / 0.8289 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.6607, allocations: 0.7071 MB / 0.8296 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.077e-05/0.6608, allocations: 54.62 kB / 0.8296 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.661, allocations: 73.31 kB / 0.8297 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.6627, allocations: 0.9 MB / 0.8306 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.6627, allocations: 3.938 kB / 0.8306 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-05/0.6628, allocations: 34 kB / 0.8306 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.6628, allocations: 26.58 kB / 0.8307 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.6646, allocations: 1.136 MB / 0.8318 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004084/0.6687, allocations: 2.528 MB / 0.8342 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.6704, allocations: 0.8384 MB / 0.8351 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006715/0.6711, allocations: 335.2 kB / 0.8354 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.664e-05/0.6712, allocations: 40.08 kB / 0.8354 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/0.6722, allocations: 0.5277 MB / 0.8359 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 3.386e-06/0.6722, allocations: 2.906 kB / 0.8359 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003297/0.6755, allocations: 1.31 MB / 0.8372 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.6756, allocations: 194 kB / 0.8374 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000715/0.6764, allocations: 0.632 MB / 0.838 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.105e-05/0.6764, allocations: 44.3 kB / 0.838 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.6767, allocations: 373.2 kB / 0.8384 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001975/0.6769, allocations: 268.8 kB / 0.8387 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.677, allocations: 15.25 kB / 0.8387 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.6771, allocations: 390.5 kB / 0.839 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006062/0.6778, allocations: 304.5 kB / 0.8393 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006752/0.6784, allocations: 410.2 kB / 0.8397 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006474/0.6791, allocations: 345.6 kB / 0.8401 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6791, allocations: 3.938 kB / 0.8401 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002083/0.6812, allocations: 0.9324 MB / 0.841 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.6812, allocations: 5.875 kB / 0.841 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.6813, allocations: 3.344 kB / 0.841 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005465/0.6818, allocations: 83.92 kB / 0.8411 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/0.6825, allocations: 185.7 kB / 0.8412 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.6845, allocations: 1.534 MB / 0.8427 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008469/0.6853, allocations: 116 kB / 0.8428 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/0.6854, allocations: 40.72 kB / 0.8429 GB, free: 7.027 MB / 0.5606 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.locTim.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.decAng.tNext,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004751/0.6859, allocations: 271.9 kB / 0.8431 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.686, allocations: 83.53 kB / 0.8432 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002704/0.6887, allocations: 1.227 MB / 0.8444 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.679e-06/0.6887, allocations: 8.062 kB / 0.8444 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.6888, allocations: 0 / 0.8444 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.6888, allocations: 11.27 kB / 0.8444 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.6899, allocations: 0.9129 MB / 0.8453 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.6899, allocations: 0 / 0.8453 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006437/0.6906, allocations: 175.4 kB / 0.8455 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004654/0.691, allocations: 87.78 kB / 0.8456 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.447e-05/0.6911, allocations: 30.75 kB / 0.8456 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/0.6929, allocations: 1.556 MB / 0.8471 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6929, allocations: 0 / 0.8471 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/0.6951, allocations: 1.017 MB / 0.8481 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005219/0.6956, allocations: 298.8 kB / 0.8484 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.6957, allocations: 21.77 kB / 0.8484 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006303/0.6964, allocations: 87.86 kB / 0.8485 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.6966, allocations: 76.64 kB / 0.8486 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.89e-05/0.6967, allocations: 37.69 kB / 0.8486 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006707/0.6974, allocations: 457.7 kB / 0.8491 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.733e-06/0.6974, allocations: 0 / 0.8491 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001086/0.6985, allocations: 322.1 kB / 0.8494 GB, free: 2.484 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001583/0.7001, allocations: 0.6109 MB / 0.85 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002006/0.7021, allocations: 0.909 MB / 0.8509 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.7021, allocations: 0 / 0.8509 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009719/0.7031, allocations: 0.5611 MB / 0.8514 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.7041, allocations: 269.2 kB / 0.8517 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/0.7081, allocations: 2.176 MB / 0.8538 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/0.7086, allocations: 1.016 MB / 0.8548 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009933/0.7096, allocations: 294.6 kB / 0.8551 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/0.7099, allocations: 105.3 kB / 0.8552 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of SimCode: time 2.053e-06/0.7099, allocations: 3.938 kB / 0.8552 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of Templates: time 0.02306/0.733, allocations: 14.39 MB / 0.8692 GB, free: 2.676 MB / 0.5762 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)