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.002002/0.002002, allocations: 105.7 kB / 16.41 MB, free: 6.504 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.00197/0.00197, allocations: 187 kB / 17.34 MB, free: 5.742 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002563/0.002563, allocations: 287.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9472/0.9472, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 95.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4761/0.478, allocations: 86.98 MB / 0.767 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.005909/0.484, allocations: 4.26 MB / 0.7712 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1604/0.6444, allocations: 150.5 MB / 0.9182 GB, free: 8.531 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008294/0.6453, allocations: 19.88 kB / 0.9182 GB, free: 8.512 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007479/0.646, allocations: 158.5 kB / 0.9184 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002106/0.6482, allocations: 492.2 kB / 0.9188 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.6504, allocations: 0.7543 MB / 0.9196 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001729/0.6521, allocations: 1.211 MB / 0.9207 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009862/0.6531, allocations: 0.5101 MB / 0.9212 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007153/0.6538, allocations: 406.5 kB / 0.9216 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007868/0.6546, allocations: 422.8 kB / 0.922 GB, free: 4.578 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002675/0.6549, allocations: 96 kB / 0.9221 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009616/0.6559, allocations: 403.6 kB / 0.9225 GB, free: 4.09 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003348/0.6562, allocations: 259.2 kB / 0.9228 GB, free: 3.836 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006038/0.6568, allocations: 481.4 kB / 0.9232 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002046/0.6589, allocations: 1.389 MB / 0.9246 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.6589, allocations: 4 kB / 0.9246 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.943e-06/0.6589, allocations: 0 / 0.9246 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.472e-05/0.659, allocations: 0 / 0.9246 GB, free: 1.969 MB / 0.6856 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.002737/0.6617, allocations: 1.273 MB / 0.9258 GB, free: 0.6406 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.6618, allocations: 12.03 kB / 0.9258 GB, free: 0.6289 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003962/0.6622, allocations: 111.7 kB / 0.9259 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.6634, allocations: 0.715 MB / 0.9266 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-05/0.6635, allocations: 50 kB / 0.9267 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.745e-05/0.6636, allocations: 64 kB / 0.9267 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.6648, allocations: 0.7721 MB / 0.9275 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.6648, allocations: 7.938 kB / 0.9275 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.875e-05/0.6649, allocations: 27.94 kB / 0.9275 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.6649, allocations: 20 kB / 0.9275 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.6663, allocations: 0.9689 MB / 0.9285 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003366/0.6696, allocations: 2.451 MB / 0.9309 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.6708, allocations: 0.6876 MB / 0.9316 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003801/0.6712, allocations: 255.3 kB / 0.9318 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.687e-05/0.6713, allocations: 28.52 kB / 0.9318 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006611/0.672, allocations: 426.5 kB / 0.9322 GB, free: 9.859 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 2.265e-06/0.672, allocations: 4 kB / 0.9322 GB, free: 9.855 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.001538/0.6735, allocations: 0.8338 MB / 0.9331 GB, free: 9.02 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.6737, allocations: 243.8 kB / 0.9333 GB, free: 8.727 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008786/0.6746, allocations: 0.633 MB / 0.9339 GB, free: 8.082 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.332e-05/0.6746, allocations: 41.7 kB / 0.9339 GB, free: 8.035 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.6749, allocations: 348.5 kB / 0.9343 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.6751, allocations: 232.7 kB / 0.9345 GB, free: 7.457 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.6754, allocations: 158.5 kB / 0.9347 GB, free: 7.297 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.6756, allocations: 386.9 kB / 0.935 GB, free: 6.91 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003823/0.6759, allocations: 221.9 kB / 0.9352 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004864/0.6764, allocations: 329.4 kB / 0.9355 GB, free: 6.348 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008263/0.6773, allocations: 0.5211 MB / 0.9361 GB, free: 5.805 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.6773, allocations: 0 / 0.9361 GB, free: 5.805 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001216/0.6785, allocations: 0.6839 MB / 0.9367 GB, free: 5.113 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.6785, allocations: 11.94 kB / 0.9367 GB, free: 5.102 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.6786, allocations: 4.156 kB / 0.9367 GB, free: 5.098 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.6786, allocations: 4 kB / 0.9367 GB, free: 5.094 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005696/0.6792, allocations: 143.8 kB / 0.9369 GB, free: 4.953 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/0.6792, allocations: 11.92 kB / 0.9369 GB, free: 4.941 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006632/0.6799, allocations: 87.33 kB / 0.937 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.6799, allocations: 31.98 kB / 0.937 GB, free: 4.824 MB / 0.7012 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.0004019/0.6803, allocations: 261.8 kB / 0.9373 GB, free: 4.562 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.6805, allocations: 75.06 kB / 0.9373 GB, free: 4.488 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.6821, allocations: 0.8485 MB / 0.9382 GB, free: 3.633 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.6822, allocations: 8 kB / 0.9382 GB, free: 3.625 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.6822, allocations: 3.938 kB / 0.9382 GB, free: 3.621 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.6822, allocations: 11.97 kB / 0.9382 GB, free: 3.609 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.6835, allocations: 0.9559 MB / 0.9391 GB, free: 2.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.6835, allocations: 3.984 kB / 0.9391 GB, free: 2.586 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004371/0.684, allocations: 115.9 kB / 0.9392 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/0.684, allocations: 11.94 kB / 0.9392 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.304e-05/0.6841, allocations: 27.97 kB / 0.9393 GB, free: 2.434 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.283e-06/0.6841, allocations: 7.938 kB / 0.9393 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.6841, allocations: 0 / 0.9393 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.6853, allocations: 0.7276 MB / 0.94 GB, free: 1.672 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004203/0.6857, allocations: 259.8 kB / 0.9402 GB, free: 1.398 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.6859, allocations: 19.98 kB / 0.9402 GB, free: 1.379 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005456/0.6864, allocations: 59.94 kB / 0.9403 GB, free: 1.32 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.6866, allocations: 56.58 kB / 0.9404 GB, free: 1.266 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.074e-05/0.6867, allocations: 27.98 kB / 0.9404 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006018/0.6873, allocations: 459 kB / 0.9408 GB, free: 0.7969 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6873, allocations: 0 / 0.9408 GB, free: 0.7969 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008008/0.6881, allocations: 271.3 kB / 0.9411 GB, free: 0.5312 MB / 0.7012 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.001493/0.6896, allocations: 0.6081 MB / 0.9417 GB, free: 100 kB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001097/0.6907, allocations: 0.5833 MB / 0.9422 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.6907, allocations: 0 / 0.9422 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004923/0.6912, allocations: 327.5 kB / 0.9426 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.6924, allocations: 262.2 kB / 0.9428 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.6949, allocations: 1.457 MB / 0.9442 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006267/0.6955, allocations: 0.9718 MB / 0.9452 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.6958, allocations: 111.4 kB / 0.9453 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of SimCode: time 5.81e-07/0.6958, allocations: 0 / 0.9453 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of Templates: time 0.3558/1.052, allocations: 13.6 MB / 0.9586 GB, free: 186.9 MB / 0.7169 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)