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.001258/0.001258, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001973/0.001973, allocations: 282 kB / 290.7 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.9337/0.9337, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 97.11 kB / 0.5952 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1409, allocations: 86.98 MB / 0.6802 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00594/0.1468, allocations: 4.43 MB / 0.6845 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4377/0.5845, allocations: 150.6 MB / 0.8315 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007922/0.5853, allocations: 15.41 kB / 0.8315 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006337/0.586, allocations: 168.2 kB / 0.8317 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.5878, allocations: 0.5067 MB / 0.8322 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.5897, allocations: 0.8296 MB / 0.833 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001723/0.5915, allocations: 1.341 MB / 0.8343 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.5926, allocations: 0.5651 MB / 0.8349 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009556/0.5935, allocations: 465.6 kB / 0.8353 GB, free: 456 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000992/0.5945, allocations: 496.4 kB / 0.8358 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005161/0.5951, allocations: 109.3 kB / 0.8359 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.5969, allocations: 0.8448 MB / 0.8367 GB, free: 308 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004469/0.5974, allocations: 283.5 kB / 0.837 GB, free: 264 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009661/0.5984, allocations: 0.5308 MB / 0.8375 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002794/0.6012, allocations: 1.735 MB / 0.8392 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.6012, allocations: 0 / 0.8392 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6012, allocations: 1.375 kB / 0.8392 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.078e-05/0.6012, allocations: 0 / 0.8392 GB, free: 15.84 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.003392/0.6046, allocations: 1.446 MB / 0.8406 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.6047, allocations: 9.781 kB / 0.8406 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.606, allocations: 205.6 kB / 0.8408 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.6074, allocations: 0.7402 MB / 0.8415 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.935e-05/0.6075, allocations: 54.19 kB / 0.8416 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.6076, allocations: 76.53 kB / 0.8417 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.6094, allocations: 0.8906 MB / 0.8425 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.6095, allocations: 4.969 kB / 0.8425 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.115e-05/0.6096, allocations: 35.86 kB / 0.8426 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.6096, allocations: 19.03 kB / 0.8426 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.6115, allocations: 1.132 MB / 0.8437 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003845/0.6154, allocations: 2.489 MB / 0.8461 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.617, allocations: 0.8393 MB / 0.8469 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006617/0.6176, allocations: 341 kB / 0.8473 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.954e-05/0.6177, allocations: 32.72 kB / 0.8473 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/0.6187, allocations: 0.523 MB / 0.8478 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.475e-06/0.6188, allocations: 7.125 kB / 0.8478 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003503/0.6223, allocations: 1.283 MB / 0.8491 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.619e-05/0.6224, allocations: 198.3 kB / 0.8493 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008971/0.6233, allocations: 0.6385 MB / 0.8499 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.097e-05/0.6234, allocations: 42.92 kB / 0.8499 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003395/0.6237, allocations: 378.4 kB / 0.8503 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.624, allocations: 264.9 kB / 0.8505 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002797/0.6243, allocations: 172.7 kB / 0.8507 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.6244, allocations: 390.8 kB / 0.8511 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007053/0.6251, allocations: 294.2 kB / 0.8514 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008083/0.626, allocations: 411.2 kB / 0.8518 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.6274, allocations: 0.6645 MB / 0.8524 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6274, allocations: 0 / 0.8524 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00236/0.6298, allocations: 0.9249 MB / 0.8533 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.6298, allocations: 11.12 kB / 0.8533 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.6298, allocations: 64 / 0.8533 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006092/0.6304, allocations: 90.27 kB / 0.8534 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008649/0.6313, allocations: 172.1 kB / 0.8536 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/0.6335, allocations: 1.647 MB / 0.8552 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009081/0.6344, allocations: 98.44 kB / 0.8553 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.1e-05/0.6346, allocations: 41.59 kB / 0.8553 GB, free: 5.496 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.0004756/0.635, allocations: 265.1 kB / 0.8556 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.6353, allocations: 87.16 kB / 0.8556 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00295/0.6382, allocations: 1.209 MB / 0.8568 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.6383, allocations: 10.5 kB / 0.8568 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.6383, allocations: 4 kB / 0.8568 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.6383, allocations: 3.984 kB / 0.8568 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.6394, allocations: 0.9201 MB / 0.8577 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.6395, allocations: 3.938 kB / 0.8577 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006507/0.6401, allocations: 166.6 kB / 0.8579 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004499/0.6406, allocations: 72.02 kB / 0.858 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.046e-05/0.6407, allocations: 29.59 kB / 0.858 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/0.6425, allocations: 1.674 MB / 0.8596 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6425, allocations: 0 / 0.8596 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/0.6448, allocations: 1.007 MB / 0.8606 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000418/0.6452, allocations: 282.4 kB / 0.8609 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.6454, allocations: 20.31 kB / 0.8609 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007229/0.6461, allocations: 66.98 kB / 0.861 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.6463, allocations: 80.02 kB / 0.861 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.399e-05/0.6464, allocations: 37.69 kB / 0.8611 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005809/0.647, allocations: 463.4 kB / 0.8615 GB, free: 1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/0.647, allocations: 0 / 0.8615 GB, free: 1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009021/0.6479, allocations: 314.4 kB / 0.8618 GB, free: 0.9141 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.001408/0.6493, allocations: 0.6307 MB / 0.8624 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002712/0.652, allocations: 1.122 MB / 0.8635 GB, free: 112 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.652, allocations: 7.297 kB / 0.8635 GB, free: 108 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.6531, allocations: 0.5519 MB / 0.8641 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.6544, allocations: 292.2 kB / 0.8644 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.6583, allocations: 1.771 MB / 0.8661 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006637/0.659, allocations: 1.021 MB / 0.8671 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00101/0.66, allocations: 279.5 kB / 0.8674 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003103/0.6603, allocations: 119 kB / 0.8675 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of SimCode: time 8.82e-07/0.6603, allocations: 0 / 0.8675 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of Templates: time 0.02705/0.6874, allocations: 15.61 MB / 0.8827 GB, free: 0.9727 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)