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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9004/0.9004, allocations: 143.4 MB / 159.2 MB, free: 4.926 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 190.7 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 447.3 MB, free: 5.871 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 103.8 kB / 0.517 GB, free: 3.727 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001905/0.001904, allocations: 286.5 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 79.88 kB / 0.6885 GB, free: 3.867 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.374, allocations: 81.29 MB / 0.7679 GB, free: 27.7 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004897/0.379, allocations: 4.203 MB / 0.772 GB, free: 23.48 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.56/0.939, allocations: 148.1 MB / 0.9167 GB, free: 15.95 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009639/0.94, allocations: 21.81 kB / 0.9167 GB, free: 15.95 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005836/0.9406, allocations: 136.7 kB / 0.9169 GB, free: 15.95 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.9423, allocations: 397.3 kB / 0.9172 GB, free: 15.95 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002297/0.9446, allocations: 0.683 MB / 0.9179 GB, free: 15.94 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002006/0.9466, allocations: 1.152 MB / 0.919 GB, free: 15.93 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008422/0.9475, allocations: 0.5442 MB / 0.9196 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006334/0.9481, allocations: 367.9 kB / 0.9199 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005916/0.9487, allocations: 406.5 kB / 0.9203 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.9489, allocations: 42.62 kB / 0.9203 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.9505, allocations: 0.7781 MB / 0.9211 GB, free: 15.78 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002454/0.9508, allocations: 205.2 kB / 0.9213 GB, free: 15.78 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.000567/0.9514, allocations: 429.8 kB / 0.9217 GB, free: 15.78 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.9533, allocations: 1.564 MB / 0.9232 GB, free: 15.68 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.9534, allocations: 3.812 kB / 0.9232 GB, free: 15.68 MB / 0.573 GB Notification: Performance of FrontEnd: time 9.02e-07/0.9534, allocations: 0 / 0.9232 GB, free: 15.68 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.9534, allocations: 0 / 0.9232 GB, free: 15.68 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002364/0.9557, allocations: 1.345 MB / 0.9245 GB, free: 14.92 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.9558, allocations: 7.344 kB / 0.9246 GB, free: 14.92 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.957, allocations: 197.5 kB / 0.9247 GB, free: 14.87 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.958, allocations: 0.6956 MB / 0.9254 GB, free: 14.57 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/0.958, allocations: 54.95 kB / 0.9255 GB, free: 14.57 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.619e-05/0.9582, allocations: 68.72 kB / 0.9255 GB, free: 14.57 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.9596, allocations: 0.83 MB / 0.9263 GB, free: 14.4 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.9596, allocations: 1.312 kB / 0.9263 GB, free: 14.4 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-05/0.9597, allocations: 33.67 kB / 0.9264 GB, free: 14.4 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.9597, allocations: 20.7 kB / 0.9264 GB, free: 14.4 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.9616, allocations: 1.075 MB / 0.9274 GB, free: 14.4 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003751/0.9654, allocations: 2.361 MB / 0.9298 GB, free: 13.56 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.9669, allocations: 0.7403 MB / 0.9305 GB, free: 13.52 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005932/0.9675, allocations: 306.5 kB / 0.9308 GB, free: 13.52 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.556e-05/0.9676, allocations: 30.98 kB / 0.9308 GB, free: 13.52 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008568/0.9684, allocations: 466.8 kB / 0.9312 GB, free: 13.44 MB / 0.573 GB Notification: Performance of pre-optimization done (n=73): time 2.815e-06/0.9685, allocations: 0 / 0.9312 GB, free: 13.44 MB / 0.573 GB Notification: Performance of matching and sorting (n=73): time 0.003537/0.972, allocations: 1.167 MB / 0.9324 GB, free: 13.23 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.9721, allocations: 189.8 kB / 0.9326 GB, free: 13.02 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.9732, allocations: 0.5992 MB / 0.9332 GB, free: 12.88 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.188e-05/0.9733, allocations: 40.36 kB / 0.9332 GB, free: 12.85 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.9736, allocations: 356.6 kB / 0.9335 GB, free: 12.69 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.9739, allocations: 241.6 kB / 0.9338 GB, free: 12.54 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000254/0.9741, allocations: 159 kB / 0.9339 GB, free: 12.52 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.9743, allocations: 381.7 kB / 0.9343 GB, free: 12.2 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005698/0.9749, allocations: 268.4 kB / 0.9345 GB, free: 12.2 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006906/0.9756, allocations: 358.5 kB / 0.9349 GB, free: 12.14 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.9769, allocations: 0.6161 MB / 0.9355 GB, free: 12.08 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.9769, allocations: 0 / 0.9355 GB, free: 12.08 MB / 0.573 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002073/0.979, allocations: 0.8465 MB / 0.9363 GB, free: 11.97 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.979, allocations: 6.906 kB / 0.9363 GB, free: 11.97 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.979, allocations: 0 / 0.9363 GB, free: 11.97 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005748/0.9796, allocations: 83.69 kB / 0.9364 GB, free: 11.96 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006512/0.9803, allocations: 160.7 kB / 0.9365 GB, free: 11.96 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.9823, allocations: 1.538 MB / 0.938 GB, free: 10.65 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008067/0.9831, allocations: 83 kB / 0.9381 GB, free: 10.62 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-05/0.9832, allocations: 40.12 kB / 0.9382 GB, free: 10.62 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0004673/0.9836, allocations: 256.2 kB / 0.9384 GB, free: 10.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.9838, allocations: 80.16 kB / 0.9385 GB, free: 10.46 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/0.9864, allocations: 1.106 MB / 0.9396 GB, free: 10.33 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.9864, allocations: 8.438 kB / 0.9396 GB, free: 10.33 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.9864, allocations: 0 / 0.9396 GB, free: 10.33 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.9864, allocations: 7.625 kB / 0.9396 GB, free: 10.33 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.9874, allocations: 0.8392 MB / 0.9404 GB, free: 10.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.9875, allocations: 5.203 kB / 0.9404 GB, free: 10.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006026/0.9881, allocations: 157.2 kB / 0.9406 GB, free: 10.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005242/0.9886, allocations: 86.23 kB / 0.9406 GB, free: 10.09 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.698e-05/0.9887, allocations: 32.69 kB / 0.9407 GB, free: 10.08 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/0.9905, allocations: 1.548 MB / 0.9422 GB, free: 8.781 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.9905, allocations: 0 / 0.9422 GB, free: 8.781 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003075/0.9936, allocations: 1.954 MB / 0.9441 GB, free: 8.027 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004002/0.994, allocations: 260.8 kB / 0.9443 GB, free: 7.883 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.9941, allocations: 22.81 kB / 0.9444 GB, free: 7.875 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005388/0.9946, allocations: 64.81 kB / 0.9444 GB, free: 7.875 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.9948, allocations: 62.19 kB / 0.9445 GB, free: 7.871 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.816e-05/0.9949, allocations: 37.38 kB / 0.9445 GB, free: 7.871 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005035/0.9954, allocations: 429.8 kB / 0.9449 GB, free: 7.777 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9954, allocations: 4 kB / 0.9449 GB, free: 7.773 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001007/0.9964, allocations: 298 kB / 0.9452 GB, free: 7.727 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001464/0.9979, allocations: 0.6199 MB / 0.9458 GB, free: 7.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002075/1, allocations: 0.818 MB / 0.9466 GB, free: 7.367 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/1, allocations: 0 / 0.9466 GB, free: 7.367 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/1.001, allocations: 0.5122 MB / 0.9471 GB, free: 7.246 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/1.002, allocations: 264.3 kB / 0.9474 GB, free: 7.23 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005143/1.008, allocations: 2.47 MB / 0.9498 GB, free: 6.055 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009911/1.009, allocations: 1.017 MB / 0.9508 GB, free: 5.34 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001479/1.01, allocations: 270.1 kB / 0.951 GB, free: 5.254 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/1.01, allocations: 100.6 kB / 0.9511 GB, free: 5.246 MB / 0.573 GB Notification: Performance of SimCode: time 2.094e-06/1.01, allocations: 0 / 0.9511 GB, free: 5.246 MB / 0.573 GB Notification: Performance of Templates: time 0.02508/1.036, allocations: 14.3 MB / 0.9651 GB, free: 14.67 MB / 0.5886 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)