Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001231/0.001231, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00185/0.00185, allocations: 190.8 kB / 16.25 MB, free: 6.586 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.416/1.416, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 68.67 kB / 0.9115 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3452, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002709/0.348, allocations: 1.508 MB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008114/0.3488, allocations: 0.5025 MB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.3489, allocations: 0 / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.964e-05/0.3489, allocations: 3.984 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.3493, allocations: 19.91 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001307/0.3494, allocations: 19.92 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.3495, allocations: 59.83 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.3496, allocations: 8 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.3498, allocations: 27.86 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.906e-05/0.3499, allocations: 19.97 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.3499, allocations: 11.92 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.525e-05/0.3499, allocations: 4 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/0.35, allocations: 8 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.239e-05/0.35, allocations: 19.92 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.3501, allocations: 48.08 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3502, allocations: 4 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3502, allocations: 0 / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3502, allocations: 0 / 1.07 GB, free: 8.504 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.0006281/0.3508, allocations: 347.5 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3508, allocations: 8.031 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.3509, allocations: 4.938 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.351, allocations: 172.2 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.3511, allocations: 8.375 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.3511, allocations: 384 / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.3512, allocations: 65.91 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3512, allocations: 0 / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.3512, allocations: 7.984 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3513, allocations: 0 / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.584e-05/0.3513, allocations: 23.98 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.3517, allocations: 268.8 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.352, allocations: 78.55 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/0.352, allocations: 16.86 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.352, allocations: 80 / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.3522, allocations: 75.36 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3522, allocations: 4 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0002508/0.3525, allocations: 93.52 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.3525, allocations: 55.41 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.966e-05/0.3526, allocations: 101.8 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.3527, allocations: 29.7 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.3527, allocations: 84.14 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.3527, allocations: 15.73 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.3528, allocations: 21.72 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3529, allocations: 330.7 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.621e-05/0.3529, allocations: 12 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.891e-05/0.353, allocations: 15.98 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.081e-05/0.353, allocations: 32.86 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3531, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001185/0.3532, allocations: 77.61 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3532, allocations: 4 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3532, allocations: 0 / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.3532, allocations: 0 / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.579e-05/0.3533, allocations: 12 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3533, allocations: 7.984 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.859e-05/0.3534, allocations: 7.906 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.3534, allocations: 256 / 1.072 GB, free: 6.336 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 9.824e-05/0.3535, allocations: 117.8 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.3535, allocations: 4 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.3537, allocations: 97.56 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3537, allocations: 8 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3538, allocations: 4.188 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3538, allocations: 3.984 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.3539, allocations: 189.5 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3539, allocations: 0 / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.969e-05/0.354, allocations: 15.92 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.354, allocations: 0 / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.354, allocations: 4 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.354, allocations: 3.938 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.354, allocations: 0 / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.3542, allocations: 125 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.3543, allocations: 88.95 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.3543, allocations: 192 / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.3544, allocations: 7.984 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.3544, allocations: 7.938 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.3544, allocations: 7.984 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.755e-05/0.3545, allocations: 79.28 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3545, allocations: 0 / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001911/0.3547, allocations: 16 kB / 1.073 GB, free: 5.465 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.0001158/0.3548, allocations: 103.2 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.3549, allocations: 55.84 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.355, allocations: 0 / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.813e-05/0.355, allocations: 31.92 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.3552, allocations: 8 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.3555, allocations: 169.5 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.3558, allocations: 0.6846 MB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.831e-05/0.3559, allocations: 0 / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.356, allocations: 15.42 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.356, allocations: 0 / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of Templates: time 0.002892/0.3589, allocations: 0.6691 MB / 1.074 GB, free: 3.688 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)