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.001425/0.001425, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00187/0.00187, allocations: 195.2 kB / 16.14 MB, free: 6.707 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.355/1.355, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002142/0.002142, allocations: 287 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9906/0.9906, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 87.69 kB / 0.5945 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1459, allocations: 86.98 MB / 0.6794 GB, free: 1.211 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005517/0.1515, allocations: 4.443 MB / 0.6838 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4641/0.6156, allocations: 148.2 MB / 0.8285 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007116/0.6163, allocations: 19.84 kB / 0.8286 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000615/0.6169, allocations: 140.9 kB / 0.8287 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.6185, allocations: 431.5 kB / 0.8291 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.6203, allocations: 0.7211 MB / 0.8298 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001296/0.6216, allocations: 1.256 MB / 0.831 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007618/0.6224, allocations: 0.5447 MB / 0.8316 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006255/0.623, allocations: 406.1 kB / 0.832 GB, free: 496 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005774/0.6236, allocations: 455.3 kB / 0.8324 GB, free: 384 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001832/0.6238, allocations: 48.34 kB / 0.8324 GB, free: 384 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.6251, allocations: 0.788 MB / 0.8332 GB, free: 344 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002476/0.6254, allocations: 225.2 kB / 0.8334 GB, free: 300 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004929/0.6259, allocations: 476.4 kB / 0.8339 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001939/0.6278, allocations: 1.685 MB / 0.8355 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6278, allocations: 0 / 0.8355 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.72e-07/0.6279, allocations: 0 / 0.8355 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.339e-05/0.6279, allocations: 1.625 kB / 0.8355 GB, free: 15.89 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.003401/0.6313, allocations: 1.442 MB / 0.8369 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.6314, allocations: 12.88 kB / 0.8369 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.6326, allocations: 201.3 kB / 0.8371 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.6337, allocations: 0.7393 MB / 0.8379 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/0.6338, allocations: 56.41 kB / 0.8379 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.764e-05/0.6339, allocations: 72.47 kB / 0.838 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.6355, allocations: 0.9006 MB / 0.8389 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.6355, allocations: 0 / 0.8389 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.138e-05/0.6356, allocations: 31.94 kB / 0.8389 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.6356, allocations: 21.86 kB / 0.8389 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.6376, allocations: 1.131 MB / 0.84 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003864/0.6415, allocations: 2.498 MB / 0.8425 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.6431, allocations: 0.8309 MB / 0.8433 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006812/0.6438, allocations: 338.7 kB / 0.8436 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.738e-05/0.6439, allocations: 32.88 kB / 0.8436 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/0.645, allocations: 0.5286 MB / 0.8441 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 4.238e-06/0.645, allocations: 6.562 kB / 0.8441 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003665/0.6487, allocations: 1.292 MB / 0.8454 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.534e-05/0.6488, allocations: 188.5 kB / 0.8456 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000748/0.6496, allocations: 0.6383 MB / 0.8462 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-05/0.6497, allocations: 39.27 kB / 0.8462 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.65, allocations: 378 kB / 0.8466 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.6502, allocations: 264.4 kB / 0.8469 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000268/0.6505, allocations: 179.5 kB / 0.847 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.6506, allocations: 387.7 kB / 0.8474 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007043/0.6513, allocations: 300.5 kB / 0.8477 GB, free: 9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007717/0.6521, allocations: 399.5 kB / 0.8481 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.6535, allocations: 0.6692 MB / 0.8487 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.6535, allocations: 5.406 kB / 0.8487 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002357/0.6559, allocations: 0.9194 MB / 0.8496 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.6559, allocations: 9.406 kB / 0.8496 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/0.656, allocations: 0 / 0.8496 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006272/0.6566, allocations: 85.39 kB / 0.8497 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007938/0.6574, allocations: 180.7 kB / 0.8499 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/0.6594, allocations: 1.529 MB / 0.8514 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008735/0.6603, allocations: 100.2 kB / 0.8515 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.283e-05/0.6604, allocations: 45.23 kB / 0.8515 GB, free: 6.25 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.0005023/0.6609, allocations: 265.6 kB / 0.8518 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.6611, allocations: 83.75 kB / 0.8518 GB, free: 6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002963/0.6641, allocations: 1.215 MB / 0.853 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.6641, allocations: 10.22 kB / 0.853 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6641, allocations: 0 / 0.853 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.6642, allocations: 3.984 kB / 0.853 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.6654, allocations: 0.912 MB / 0.8539 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/0.6654, allocations: 0 / 0.8539 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006793/0.6661, allocations: 171.2 kB / 0.8541 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005218/0.6666, allocations: 79.75 kB / 0.8542 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.048e-05/0.6667, allocations: 29.62 kB / 0.8542 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.6685, allocations: 1.557 MB / 0.8557 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6685, allocations: 0 / 0.8557 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/0.6708, allocations: 1.007 MB / 0.8567 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004206/0.6712, allocations: 281.9 kB / 0.857 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.6713, allocations: 31.17 kB / 0.857 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000677/0.672, allocations: 68.52 kB / 0.8571 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.6722, allocations: 78.8 kB / 0.8571 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-05/0.6723, allocations: 42.83 kB / 0.8572 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000565/0.6729, allocations: 459.2 kB / 0.8576 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6729, allocations: 0 / 0.8576 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008936/0.6738, allocations: 320.5 kB / 0.8579 GB, free: 1.773 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.001446/0.6752, allocations: 0.6249 MB / 0.8585 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001977/0.6772, allocations: 0.8975 MB / 0.8594 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.6772, allocations: 8.25 kB / 0.8594 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.6783, allocations: 0.5485 MB / 0.86 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.6794, allocations: 268.1 kB / 0.8602 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/0.6834, allocations: 2.163 MB / 0.8623 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005354/0.6839, allocations: 1.014 MB / 0.8633 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009679/0.6849, allocations: 291.9 kB / 0.8636 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.6852, allocations: 110.8 kB / 0.8637 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of SimCode: time 5.41e-07/0.6852, allocations: 3.938 kB / 0.8637 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of Templates: time 0.02391/0.7091, allocations: 14.92 MB / 0.8783 GB, free: 3.465 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)