Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") translateModel(BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 114.2 kB / 16.37 MB, free: 6.012 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.001251/0.001251, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002212/0.002212, allocations: 274.9 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9737/0.9737, allocations: 169.2 MB / 0.4989 GB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001834, allocations: 91.33 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2085, allocations: 86.97 MB / 0.6816 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.006003/0.2145, allocations: 4.261 MB / 0.6858 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5064/0.7209, allocations: 150.5 MB / 0.8328 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.7221, allocations: 15.94 kB / 0.8328 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006324/0.7227, allocations: 169.2 kB / 0.8329 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.7248, allocations: 492.2 kB / 0.8334 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002394/0.7272, allocations: 0.7503 MB / 0.8341 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001864/0.7291, allocations: 1.219 MB / 0.8353 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008479/0.7299, allocations: 0.5102 MB / 0.8358 GB, free: 400 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006751/0.7306, allocations: 402.6 kB / 0.8362 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005477/0.7312, allocations: 418 kB / 0.8366 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.7313, allocations: 96 kB / 0.8367 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008307/0.7322, allocations: 403.6 kB / 0.8371 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000246/0.7324, allocations: 259.1 kB / 0.8373 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004156/0.7328, allocations: 481.5 kB / 0.8378 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.7346, allocations: 1.393 MB / 0.8391 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.7346, allocations: 0 / 0.8391 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.735e-06/0.7346, allocations: 0 / 0.8391 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.7346, allocations: 0 / 0.8391 GB, free: 12.98 MB / 0.6075 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.002304/0.7369, allocations: 1.271 MB / 0.8404 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.737, allocations: 12.03 kB / 0.8404 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003344/0.7373, allocations: 103.7 kB / 0.8405 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.7385, allocations: 0.7154 MB / 0.8412 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.874e-05/0.7385, allocations: 50 kB / 0.8412 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.889e-05/0.7386, allocations: 63.98 kB / 0.8413 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.7399, allocations: 0.776 MB / 0.8421 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.7399, allocations: 0 / 0.8421 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/0.74, allocations: 28 kB / 0.8421 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.74, allocations: 24 kB / 0.8421 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.7414, allocations: 0.9728 MB / 0.8431 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003456/0.7449, allocations: 2.454 MB / 0.8455 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.7461, allocations: 0.6874 MB / 0.8461 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003903/0.7465, allocations: 259.2 kB / 0.8464 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.195e-05/0.7466, allocations: 28.52 kB / 0.8464 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006652/0.7472, allocations: 420.7 kB / 0.8468 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=70): time 2.495e-06/0.7472, allocations: 0 / 0.8468 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70): time 0.001594/0.7488, allocations: 0.8363 MB / 0.8476 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001575/0.749, allocations: 244 kB / 0.8479 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009112/0.7499, allocations: 0.6369 MB / 0.8485 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.86e-05/0.75, allocations: 41.7 kB / 0.8485 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.7503, allocations: 348.5 kB / 0.8488 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.7505, allocations: 228.7 kB / 0.8491 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.7508, allocations: 154.5 kB / 0.8492 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.751, allocations: 382.8 kB / 0.8496 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.7514, allocations: 225.8 kB / 0.8498 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000506/0.7519, allocations: 337.4 kB / 0.8501 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008138/0.7527, allocations: 0.5173 MB / 0.8506 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.7527, allocations: 1.938 kB / 0.8506 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001198/0.7539, allocations: 0.6837 MB / 0.8513 GB, free: 144 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.754, allocations: 8 kB / 0.8513 GB, free: 136 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.754, allocations: 0 / 0.8513 GB, free: 136 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.754, allocations: 4 kB / 0.8513 GB, free: 132 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005834/0.7546, allocations: 147.8 kB / 0.8514 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.7546, allocations: 8.156 kB / 0.8515 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000598/0.7552, allocations: 87.28 kB / 0.8515 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.694e-05/0.7553, allocations: 35.97 kB / 0.8516 GB, free: 15.86 MB / 0.6231 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.0004142/0.7557, allocations: 259.4 kB / 0.8518 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.7559, allocations: 79.05 kB / 0.8519 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/0.7575, allocations: 0.846 MB / 0.8527 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.7575, allocations: 19.92 kB / 0.8527 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.7575, allocations: 0 / 0.8527 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.7575, allocations: 7.922 kB / 0.8527 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.7587, allocations: 0.9598 MB / 0.8537 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.7587, allocations: 1.875 kB / 0.8537 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004434/0.7592, allocations: 123.8 kB / 0.8538 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.928e-06/0.7592, allocations: 4 kB / 0.8538 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/0.7593, allocations: 27.92 kB / 0.8538 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.7593, allocations: 4 kB / 0.8538 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.7593, allocations: 4.031 kB / 0.8538 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.7605, allocations: 0.7354 MB / 0.8546 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003704/0.7609, allocations: 255.8 kB / 0.8548 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.761, allocations: 19.94 kB / 0.8548 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004945/0.7615, allocations: 59.94 kB / 0.8549 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.7616, allocations: 60.56 kB / 0.8549 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-05/0.7617, allocations: 27.98 kB / 0.855 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006051/0.7623, allocations: 455 kB / 0.8554 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7623, allocations: 0 / 0.8554 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008265/0.7632, allocations: 263.5 kB / 0.8556 GB, free: 11.56 MB / 0.6231 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.001612/0.7648, allocations: 0.607 MB / 0.8562 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.7659, allocations: 0.5872 MB / 0.8568 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.766, allocations: 0 / 0.8568 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004887/0.7665, allocations: 323.6 kB / 0.8571 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.7675, allocations: 269.1 kB / 0.8574 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/0.7701, allocations: 1.414 MB / 0.8588 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006042/0.7707, allocations: 0.9787 MB / 0.8597 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000732/0.7714, allocations: 250.2 kB / 0.86 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.7717, allocations: 99.39 kB / 0.86 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of SimCode: time 1.593e-06/0.7717, allocations: 0 / 0.86 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of Templates: time 0.02365/0.7953, allocations: 12.38 MB / 0.8721 GB, free: 11 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1)