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.001253/0.001253, allocations: 102.6 kB / 16.35 MB, free: 5.879 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.001269/0.001269, allocations: 192.4 kB / 17.29 MB, free: 5.52 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 4.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002171/0.002171, allocations: 274.8 kB / 291.4 MB, free: 1.824 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9489/0.9489, allocations: 169.3 MB / 0.4989 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001775, allocations: 98.92 kB / 0.5967 GB, free: 27.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1292, allocations: 86.98 MB / 0.6816 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.005399/0.1347, allocations: 4.249 MB / 0.6857 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3884/0.523, allocations: 150.5 MB / 0.8327 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006325/0.5237, allocations: 16.12 kB / 0.8328 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005147/0.5242, allocations: 167.1 kB / 0.8329 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.5257, allocations: 0.4901 MB / 0.8334 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.5273, allocations: 0.7465 MB / 0.8341 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001176/0.5284, allocations: 1.207 MB / 0.8353 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006188/0.5291, allocations: 0.5106 MB / 0.8358 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004025/0.5295, allocations: 408.8 kB / 0.8362 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/0.5299, allocations: 425.2 kB / 0.8366 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.53, allocations: 97.31 kB / 0.8367 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006069/0.5306, allocations: 396.3 kB / 0.8371 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.5308, allocations: 258.9 kB / 0.8373 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003199/0.5312, allocations: 483 kB / 0.8378 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.5323, allocations: 1.387 MB / 0.8391 GB, free: 312 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5323, allocations: 4.75 kB / 0.8391 GB, free: 308 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5323, allocations: 0 / 0.8391 GB, free: 308 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.409e-05/0.5323, allocations: 1.125 kB / 0.8391 GB, free: 308 kB / 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.001914/0.5342, allocations: 1.271 MB / 0.8404 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.5343, allocations: 9.688 kB / 0.8404 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/0.5346, allocations: 108.3 kB / 0.8405 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009788/0.5355, allocations: 0.7142 MB / 0.8412 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/0.5356, allocations: 52.2 kB / 0.8412 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.111e-05/0.5357, allocations: 70.75 kB / 0.8413 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.5368, allocations: 0.7758 MB / 0.8421 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.5368, allocations: 0 / 0.8421 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.426e-05/0.5369, allocations: 28.62 kB / 0.8421 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.5369, allocations: 17.12 kB / 0.8421 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.5382, allocations: 0.9758 MB / 0.8431 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003092/0.5413, allocations: 2.454 MB / 0.8454 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.5424, allocations: 0.6869 MB / 0.8461 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003573/0.5427, allocations: 252.1 kB / 0.8464 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.449e-05/0.5428, allocations: 30.64 kB / 0.8464 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005861/0.5434, allocations: 425.6 kB / 0.8468 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 1.934e-06/0.5434, allocations: 3.938 kB / 0.8468 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.00141/0.5448, allocations: 0.8407 MB / 0.8476 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.5449, allocations: 240.3 kB / 0.8478 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006734/0.5456, allocations: 0.6423 MB / 0.8485 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.451e-05/0.5457, allocations: 38.2 kB / 0.8485 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.5459, allocations: 358.8 kB / 0.8489 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.5461, allocations: 223.8 kB / 0.8491 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.5463, allocations: 148.6 kB / 0.8492 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.5465, allocations: 383.7 kB / 0.8496 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003595/0.5468, allocations: 219.7 kB / 0.8498 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000472/0.5473, allocations: 346.5 kB / 0.8501 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007704/0.5481, allocations: 0.5137 MB / 0.8506 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5481, allocations: 0 / 0.8506 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001056/0.5492, allocations: 0.6847 MB / 0.8513 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.5492, allocations: 5.281 kB / 0.8513 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.5492, allocations: 2.406 kB / 0.8513 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.5492, allocations: 7 kB / 0.8513 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.5498, allocations: 143.8 kB / 0.8514 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.5498, allocations: 4.625 kB / 0.8514 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005421/0.5503, allocations: 90.02 kB / 0.8515 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/0.5504, allocations: 36.97 kB / 0.8516 GB, free: 9.074 MB / 0.5762 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.0003074/0.5507, allocations: 265 kB / 0.8518 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.5508, allocations: 80.39 kB / 0.8519 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/0.5523, allocations: 0.8371 MB / 0.8527 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.5523, allocations: 8 kB / 0.8527 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5523, allocations: 6.5 kB / 0.8527 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.5524, allocations: 7.922 kB / 0.8527 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009753/0.5533, allocations: 0.9627 MB / 0.8537 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.5533, allocations: 0 / 0.8537 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.5538, allocations: 123.8 kB / 0.8538 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.5538, allocations: 2.781 kB / 0.8538 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.682e-05/0.5538, allocations: 27.67 kB / 0.8538 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.5538, allocations: 8.562 kB / 0.8538 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5539, allocations: 0 / 0.8538 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.5549, allocations: 0.7413 MB / 0.8546 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.5553, allocations: 255.5 kB / 0.8548 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.5554, allocations: 21.22 kB / 0.8548 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005076/0.5559, allocations: 61.62 kB / 0.8549 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.556, allocations: 67.02 kB / 0.8549 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.328e-05/0.5561, allocations: 29.23 kB / 0.855 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000501/0.5566, allocations: 457.1 kB / 0.8554 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5566, allocations: 0 / 0.8554 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000616/0.5572, allocations: 264.3 kB / 0.8557 GB, free: 6.492 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.001243/0.5585, allocations: 0.5982 MB / 0.8562 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000885/0.5594, allocations: 0.5845 MB / 0.8568 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.5594, allocations: 6.094 kB / 0.8568 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004579/0.5599, allocations: 319.6 kB / 0.8571 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009693/0.5608, allocations: 269.8 kB / 0.8574 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.5627, allocations: 1.41 MB / 0.8588 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.5632, allocations: 0.9814 MB / 0.8597 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005989/0.5638, allocations: 254.2 kB / 0.86 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.5641, allocations: 95.3 kB / 0.86 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.5641, allocations: 0 / 0.86 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of Templates: time 0.01831/0.5824, allocations: 12.36 MB / 0.8721 GB, free: 13.55 MB / 0.5919 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1)