Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001534, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002362/0.002362, allocations: 194.9 kB / 16.14 MB, free: 6.656 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.441/1.441, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.91/2.91, allocations: 472.6 MB / 0.7447 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001262, allocations: 74.47 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3596, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002669/0.3623, allocations: 1.514 MB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008292/0.3632, allocations: 0.4948 MB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.199e-05/0.3632, allocations: 4 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.467e-05/0.3633, allocations: 3.938 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.3635, allocations: 23.92 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001009/0.3636, allocations: 19.97 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.229e-05/0.3637, allocations: 47.8 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.706e-05/0.3638, allocations: 4 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.215e-05/0.3639, allocations: 27.97 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.4e-05/0.364, allocations: 23.91 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.364, allocations: 4 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.541e-05/0.3641, allocations: 0 / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.89e-05/0.3641, allocations: 23.84 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.3641, allocations: 15.94 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.527e-05/0.3642, allocations: 40.09 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3642, allocations: 0 / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.143e-06/0.3643, allocations: 0 / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.3643, allocations: 0 / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005921/0.3649, allocations: 351.5 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3649, allocations: 8.031 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.3649, allocations: 4.938 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.3651, allocations: 176.2 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.3651, allocations: 4.375 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.3651, allocations: 4.375 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.3653, allocations: 65.95 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3653, allocations: 3.938 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.3653, allocations: 0 / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3653, allocations: 4 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.623e-05/0.3654, allocations: 27.92 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.3658, allocations: 272.8 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.3661, allocations: 62.67 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.795e-05/0.3661, allocations: 28.78 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.3662, allocations: 0 / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.3664, allocations: 71.39 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.3664, allocations: 3.938 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0002467/0.3666, allocations: 93.56 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.3667, allocations: 55.41 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.274e-05/0.3668, allocations: 101.8 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.3668, allocations: 25.7 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.3668, allocations: 88.12 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.3669, allocations: 19.81 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.3669, allocations: 25.7 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.367, allocations: 318.8 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.07e-05/0.3671, allocations: 16 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.3671, allocations: 15.98 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.108e-05/0.3672, allocations: 36.84 kB / 1.071 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3672, allocations: 0 / 1.071 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001153/0.3673, allocations: 65.69 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3673, allocations: 9.562 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3673, allocations: 3.938 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.3674, allocations: 4.25 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.744e-05/0.3674, allocations: 11.98 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3675, allocations: 4 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.344e-05/0.3675, allocations: 7.906 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.3676, allocations: 0 / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.426e-05/0.3676, allocations: 117.8 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.3677, allocations: 4.172 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.3679, allocations: 109.6 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3679, allocations: 3.984 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3679, allocations: 0 / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.3679, allocations: 4.094 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.368, allocations: 189.4 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3681, allocations: 0 / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.347e-05/0.3681, allocations: 11.98 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3681, allocations: 0 / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.3682, allocations: 4 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.3682, allocations: 0 / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3682, allocations: 3.938 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/0.3683, allocations: 117 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/0.3684, allocations: 92.94 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.3684, allocations: 7.875 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.3685, allocations: 8 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.3685, allocations: 7.984 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.3686, allocations: 4 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.837e-05/0.3686, allocations: 83.28 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3686, allocations: 4 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001933/0.3688, allocations: 12 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001159/0.3689, allocations: 103.2 kB / 1.072 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.3691, allocations: 51.86 kB / 1.072 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3691, allocations: 0 / 1.072 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.531e-05/0.3691, allocations: 31.98 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.3693, allocations: 6.656 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.3697, allocations: 159.2 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.3699, allocations: 0.6809 MB / 1.073 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.798e-05/0.37, allocations: 7.984 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.37, allocations: 19.44 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.37, allocations: 288 / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of Templates: time 0.002777/0.3728, allocations: 0.6341 MB / 1.074 GB, free: 3.875 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)