Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") translateModel(BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=482,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007728/0.0007728, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004841/0.004841, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.312/1.312, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001756/0.001757, allocations: 274.4 kB / 291.7 MB, free: 1.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9458/0.9458, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004051, allocations: 11.2 kB / 0.5986 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1429, allocations: 88.56 MB / 0.6851 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.004525/0.1474, allocations: 3.85 MB / 0.6889 GB, free: 11.15 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4422/0.5897, allocations: 146.6 MB / 0.8321 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004599/0.5902, allocations: 14.94 kB / 0.8321 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004202/0.5906, allocations: 136.2 kB / 0.8322 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.5917, allocations: 417.1 kB / 0.8326 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.5932, allocations: 0.6438 MB / 0.8332 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001165/0.5944, allocations: 1.119 MB / 0.8343 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007431/0.5951, allocations: 0.4908 MB / 0.8348 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003869/0.5955, allocations: 295.3 kB / 0.8351 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004072/0.596, allocations: 330.2 kB / 0.8354 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.354e-05/0.596, allocations: 22.19 kB / 0.8354 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000549/0.5966, allocations: 300.8 kB / 0.8357 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.5968, allocations: 169.3 kB / 0.8359 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000287/0.5971, allocations: 416.1 kB / 0.8363 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.5981, allocations: 1.276 MB / 0.8375 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5981, allocations: 0 / 0.8375 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5981, allocations: 0 / 0.8375 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.5981, allocations: 0 / 0.8375 GB, free: 9.484 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001809/0.5999, allocations: 1.092 MB / 0.8386 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.6, allocations: 6.156 kB / 0.8386 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002526/0.6002, allocations: 111.4 kB / 0.8387 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008243/0.6011, allocations: 0.6962 MB / 0.8394 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/0.6011, allocations: 50.03 kB / 0.8394 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.093e-05/0.6012, allocations: 63.34 kB / 0.8395 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.6023, allocations: 0.7709 MB / 0.8402 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.6023, allocations: 3.938 kB / 0.8402 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.095e-05/0.6024, allocations: 28.22 kB / 0.8403 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.6024, allocations: 23.58 kB / 0.8403 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.6036, allocations: 0.9745 MB / 0.8412 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003007/0.6067, allocations: 2.505 MB / 0.8437 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.6077, allocations: 0.6839 MB / 0.8444 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.6081, allocations: 251.1 kB / 0.8446 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.555e-05/0.6082, allocations: 29.95 kB / 0.8446 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006242/0.6088, allocations: 424.7 kB / 0.845 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 5.4e-06/0.6088, allocations: 3.984 kB / 0.845 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.00131/0.6101, allocations: 0.8392 MB / 0.8458 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.6102, allocations: 237.7 kB / 0.8461 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006825/0.6109, allocations: 0.6362 MB / 0.8467 GB, free: 3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.663e-05/0.611, allocations: 40.61 kB / 0.8467 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.6112, allocations: 352.3 kB / 0.8471 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.6114, allocations: 232.8 kB / 0.8473 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.12e-05/0.6115, allocations: 63.5 kB / 0.8474 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.6117, allocations: 385.9 kB / 0.8477 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.612, allocations: 220.1 kB / 0.8479 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004407/0.6125, allocations: 331.8 kB / 0.8482 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007444/0.6132, allocations: 0.5233 MB / 0.8488 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6132, allocations: 0 / 0.8488 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001007/0.6142, allocations: 0.6902 MB / 0.8494 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.6143, allocations: 2.953 kB / 0.8494 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.6143, allocations: 5.688 kB / 0.8494 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.6143, allocations: 6.281 kB / 0.8494 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005192/0.6148, allocations: 145.6 kB / 0.8496 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.6149, allocations: 6.875 kB / 0.8496 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/0.6154, allocations: 99.28 kB / 0.8497 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-05/0.6155, allocations: 37.72 kB / 0.8497 GB, free: 0.9648 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.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 (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003213/0.6158, allocations: 262 kB / 0.85 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.616, allocations: 81.73 kB / 0.8501 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.6174, allocations: 0.847 MB / 0.8509 GB, free: 256 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.6174, allocations: 8.219 kB / 0.8509 GB, free: 256 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6174, allocations: 3.938 kB / 0.8509 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.6174, allocations: 6.672 kB / 0.8509 GB, free: 248 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009854/0.6184, allocations: 0.9595 MB / 0.8518 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.6184, allocations: 2.906 kB / 0.8518 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/0.6189, allocations: 117.8 kB / 0.8519 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.337e-06/0.6189, allocations: 12.84 kB / 0.852 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/0.6189, allocations: 24.11 kB / 0.852 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.6189, allocations: 2.688 kB / 0.852 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.6189, allocations: 0 / 0.852 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.62, allocations: 0.7365 MB / 0.8527 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/0.6203, allocations: 274.5 kB / 0.853 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.6204, allocations: 21.05 kB / 0.853 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005156/0.6209, allocations: 73.23 kB / 0.8531 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.621, allocations: 64.08 kB / 0.8531 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.118e-05/0.6211, allocations: 27.2 kB / 0.8531 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004856/0.6216, allocations: 455.7 kB / 0.8536 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6216, allocations: 0 / 0.8536 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006446/0.6222, allocations: 271.2 kB / 0.8538 GB, free: 14.34 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001255/0.6235, allocations: 0.5991 MB / 0.8544 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008644/0.6244, allocations: 0.5784 MB / 0.855 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6244, allocations: 3.938 kB / 0.855 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000433/0.6248, allocations: 324.2 kB / 0.8553 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.6259, allocations: 241.5 kB / 0.8555 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.628, allocations: 1.788 MB / 0.8573 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.6285, allocations: 0.9688 MB / 0.8582 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006674/0.6292, allocations: 250.7 kB / 0.8585 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.6294, allocations: 105.6 kB / 0.8586 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.6294, allocations: 0 / 0.8586 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of Templates: time 0.01859/0.648, allocations: 11.83 MB / 0.8701 GB, free: 2.109 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1)