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.001091/0.001091, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.763/2.763, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001263, allocations: 66.38 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3233, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002683/0.326, allocations: 1.447 MB / 1.07 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008317/0.3269, allocations: 0.5063 MB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.892e-05/0.3269, allocations: 0 / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.327, allocations: 0 / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.3272, allocations: 27.84 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001014/0.3273, allocations: 23.92 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.535e-05/0.3274, allocations: 59.72 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.3275, allocations: 8 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.99e-05/0.3277, allocations: 19.97 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.702e-05/0.3277, allocations: 19.92 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.3278, allocations: 4 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.724e-05/0.3278, allocations: 4 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/0.3278, allocations: 23.91 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.3279, allocations: 19.92 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.328, allocations: 44.05 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.328, allocations: 0 / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.723e-06/0.328, allocations: 0 / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.328, allocations: 0 / 1.07 GB, free: 8.242 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.0006173/0.3286, allocations: 347.5 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3287, allocations: 12.03 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.3287, allocations: 4.938 kB / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.3289, allocations: 184.2 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3289, allocations: 384 / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.3289, allocations: 4.375 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.3291, allocations: 53.98 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.3291, allocations: 0 / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3291, allocations: 4 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3291, allocations: 3.984 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.404e-05/0.3292, allocations: 27.92 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.3295, allocations: 276.8 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.3298, allocations: 66.67 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.029e-05/0.3298, allocations: 20.86 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.3299, allocations: 3.938 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.33, allocations: 79.31 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3301, allocations: 0 / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0002419/0.3303, allocations: 93.58 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.3303, allocations: 51.41 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.432e-05/0.3304, allocations: 101.8 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.3305, allocations: 29.7 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.3305, allocations: 88.08 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.3306, allocations: 23.81 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.3306, allocations: 21.7 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3307, allocations: 318.8 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.877e-05/0.3308, allocations: 15.98 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.272e-05/0.3308, allocations: 19.97 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.16e-05/0.3309, allocations: 32.86 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3309, allocations: 0 / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001266/0.331, allocations: 73.62 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3311, allocations: 7.984 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3311, allocations: 4 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.3311, allocations: 0 / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.887e-05/0.3312, allocations: 15.94 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3312, allocations: 0 / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.248e-05/0.3313, allocations: 11.89 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.3313, allocations: 0 / 1.072 GB, free: 6.059 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.582e-05/0.3314, allocations: 117.8 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.3314, allocations: 4 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.3316, allocations: 101.6 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.3316, allocations: 4 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3316, allocations: 0 / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3316, allocations: 0 / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.3318, allocations: 189.5 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3318, allocations: 0 / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.099e-05/0.3319, allocations: 8 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.3319, allocations: 4 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3319, allocations: 3.984 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3319, allocations: 0 / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3319, allocations: 4.25 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.3321, allocations: 124.9 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.3322, allocations: 88.95 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.3322, allocations: 4 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.628e-05/0.3323, allocations: 7.984 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.3323, allocations: 7.938 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.3324, allocations: 4 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.825e-05/0.3324, allocations: 87.27 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3324, allocations: 192 / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002059/0.3326, allocations: 16 kB / 1.073 GB, free: 5.191 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.0001201/0.3327, allocations: 104 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001627/0.3329, allocations: 59.84 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3329, allocations: 0 / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.514e-05/0.333, allocations: 31.94 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.3332, allocations: 12.53 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.3335, allocations: 141.5 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.3338, allocations: 0.6846 MB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.489e-05/0.3338, allocations: 4 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.3339, allocations: 15.44 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3339, allocations: 0 / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of Templates: time 0.002983/0.3369, allocations: 0.6864 MB / 1.075 GB, free: 3.414 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)