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.004802/0.004802, allocations: 97.2 kB / 15.73 MB, free: 5.547 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.001086/0.001086, allocations: 189.8 kB / 16.67 MB, free: 5.48 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002054/0.002054, allocations: 287.6 kB / 290.8 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.9312/0.9312, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002457/0.002457, allocations: 91.86 kB / 0.6814 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4246, allocations: 86.98 MB / 0.7664 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.005765/0.4304, allocations: 4.264 MB / 0.7705 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1496/0.5801, allocations: 150.5 MB / 0.9175 GB, free: 8.527 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006627/0.5808, allocations: 15.94 kB / 0.9175 GB, free: 8.512 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005836/0.5814, allocations: 162.5 kB / 0.9177 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.5831, allocations: 0.493 MB / 0.9182 GB, free: 7.859 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.5848, allocations: 0.7477 MB / 0.9189 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001306/0.5861, allocations: 1.207 MB / 0.9201 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007244/0.5869, allocations: 0.5063 MB / 0.9206 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005501/0.5874, allocations: 402.5 kB / 0.921 GB, free: 4.996 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009216/0.5967, allocations: 426.8 kB / 0.9214 GB, free: 4.578 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004161/0.5971, allocations: 103.9 kB / 0.9215 GB, free: 4.477 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.5985, allocations: 395.7 kB / 0.9218 GB, free: 4.09 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004266/0.5989, allocations: 251.2 kB / 0.9221 GB, free: 3.844 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008966/0.5998, allocations: 485.4 kB / 0.9225 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002687/0.6025, allocations: 1.395 MB / 0.9239 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.6026, allocations: 0 / 0.9239 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6026, allocations: 0 / 0.9239 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.365e-05/0.6026, allocations: 0 / 0.9239 GB, free: 1.973 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.004297/0.6069, allocations: 1.314 MB / 0.9252 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.607, allocations: 8.031 kB / 0.9252 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005955/0.6076, allocations: 112.2 kB / 0.9253 GB, free: 496 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.6094, allocations: 0.7236 MB / 0.926 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.728e-05/0.6095, allocations: 57.98 kB / 0.9261 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.6096, allocations: 64 kB / 0.9261 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.6117, allocations: 0.7721 MB / 0.9269 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.6117, allocations: 7.875 kB / 0.9269 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.6118, allocations: 28 kB / 0.9269 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/0.6119, allocations: 16 kB / 0.9269 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002291/0.6142, allocations: 0.9689 MB / 0.9279 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005152/0.6194, allocations: 2.463 MB / 0.9303 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.6212, allocations: 0.6805 MB / 0.9309 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005763/0.6218, allocations: 263.2 kB / 0.9312 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.612e-05/0.6219, allocations: 24.52 kB / 0.9312 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009383/0.6228, allocations: 434.2 kB / 0.9316 GB, free: 9.793 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 3.696e-06/0.6228, allocations: 0 / 0.9316 GB, free: 9.793 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.002409/0.6253, allocations: 0.8342 MB / 0.9325 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001655/0.6254, allocations: 251.8 kB / 0.9327 GB, free: 8.656 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.6267, allocations: 0.6215 MB / 0.9333 GB, free: 8.023 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.415e-05/0.6268, allocations: 41.7 kB / 0.9333 GB, free: 7.977 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003769/0.6272, allocations: 364.9 kB / 0.9337 GB, free: 7.613 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000269/0.6275, allocations: 242.1 kB / 0.9339 GB, free: 7.375 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003654/0.6278, allocations: 154.6 kB / 0.9341 GB, free: 7.219 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002245/0.6281, allocations: 374.8 kB / 0.9344 GB, free: 6.844 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006354/0.6287, allocations: 225.9 kB / 0.9346 GB, free: 6.621 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007944/0.6295, allocations: 333.4 kB / 0.935 GB, free: 6.273 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.6309, allocations: 0.5211 MB / 0.9355 GB, free: 5.73 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.6309, allocations: 4.109 kB / 0.9355 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001897/0.6328, allocations: 0.6958 MB / 0.9361 GB, free: 5.023 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.6329, allocations: 4 kB / 0.9362 GB, free: 5.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.6329, allocations: 4 kB / 0.9362 GB, free: 5.016 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.6329, allocations: 7.984 kB / 0.9362 GB, free: 5.008 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008774/0.6338, allocations: 139.8 kB / 0.9363 GB, free: 4.871 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/0.6338, allocations: 7.938 kB / 0.9363 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009854/0.6348, allocations: 87.56 kB / 0.9364 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.6349, allocations: 36.14 kB / 0.9364 GB, free: 4.742 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.0005265/0.6355, allocations: 259.4 kB / 0.9367 GB, free: 4.48 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/0.6358, allocations: 83.48 kB / 0.9367 GB, free: 4.398 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/0.6383, allocations: 0.8408 MB / 0.9376 GB, free: 3.551 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.6383, allocations: 8 kB / 0.9376 GB, free: 3.543 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.878e-05/0.6384, allocations: 7.938 kB / 0.9376 GB, free: 3.535 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.6384, allocations: 3.984 kB / 0.9376 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.6401, allocations: 0.9677 MB / 0.9385 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/0.6402, allocations: 0 / 0.9385 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007465/0.6409, allocations: 119.9 kB / 0.9386 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.437e-05/0.6409, allocations: 11.88 kB / 0.9387 GB, free: 2.371 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.281e-05/0.641, allocations: 19.98 kB / 0.9387 GB, free: 2.352 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-05/0.6411, allocations: 7.984 kB / 0.9387 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6411, allocations: 0 / 0.9387 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/0.6429, allocations: 0.7398 MB / 0.9394 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004977/0.6434, allocations: 264.2 kB / 0.9397 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.6436, allocations: 23.98 kB / 0.9397 GB, free: 1.277 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007648/0.6444, allocations: 50.86 kB / 0.9397 GB, free: 1.23 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.6446, allocations: 64.56 kB / 0.9398 GB, free: 1.168 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.6447, allocations: 31.98 kB / 0.9398 GB, free: 1.137 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008295/0.6456, allocations: 459 kB / 0.9403 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6456, allocations: 0 / 0.9403 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001132/0.6467, allocations: 275.2 kB / 0.9405 GB, free: 436 kB / 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.002016/0.6487, allocations: 0.5948 MB / 0.9411 GB, free: 0 / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00162/0.6504, allocations: 0.5873 MB / 0.9417 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6504, allocations: 320 / 0.9417 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007412/0.6512, allocations: 327.6 kB / 0.942 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.6527, allocations: 267.8 kB / 0.9422 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/0.6561, allocations: 1.434 MB / 0.9436 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007902/0.6569, allocations: 0.9757 MB / 0.9446 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001126/0.658, allocations: 246.2 kB / 0.9448 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003705/0.6584, allocations: 107.3 kB / 0.9449 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of SimCode: time 3.91e-07/0.6584, allocations: 0 / 0.9449 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of Templates: time 0.3174/0.9759, allocations: 12.51 MB / 0.9572 GB, free: 188.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)