Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.004622/0.004622, allocations: 98.36 kB / 15.73 MB, free: 6.055 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.001073/0.001074, allocations: 193.3 kB / 16.68 MB, free: 5.969 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.277/1.277, 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.002069/0.002069, allocations: 286.7 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9254/0.9254, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 91.86 kB / 0.6815 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.389, allocations: 86.97 MB / 0.7664 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002226/0.3912, allocations: 1.451 MB / 0.7678 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007491/0.392, allocations: 0.5122 MB / 0.7683 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.392, allocations: 0 / 0.7683 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.3921, allocations: 3.938 kB / 0.7683 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.3923, allocations: 23.84 kB / 0.7683 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 9.193e-05/0.3924, allocations: 27.91 kB / 0.7684 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.78e-05/0.3924, allocations: 47.86 kB / 0.7684 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.335e-05/0.3925, allocations: 15.97 kB / 0.7684 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.839e-05/0.3926, allocations: 23.92 kB / 0.7684 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.058e-05/0.3927, allocations: 23.92 kB / 0.7685 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.3927, allocations: 4 kB / 0.7685 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.3927, allocations: 4 kB / 0.7685 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.306e-05/0.3928, allocations: 11.97 kB / 0.7685 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.3928, allocations: 19.92 kB / 0.7685 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.496e-05/0.3929, allocations: 39.53 kB / 0.7685 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.3929, allocations: 7.875 kB / 0.7685 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.246e-06/0.3929, allocations: 8 kB / 0.7686 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.3929, allocations: 0 / 0.7686 GB, free: 1.656 MB / 0.5294 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.000517/0.3934, allocations: 353.3 kB / 0.7689 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.3935, allocations: 12.03 kB / 0.7689 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.3935, allocations: 8.828 kB / 0.7689 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.3936, allocations: 168.4 kB / 0.7691 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.3937, allocations: 384 / 0.7691 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.3937, allocations: 12.38 kB / 0.7691 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.3938, allocations: 53.98 kB / 0.7691 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.3938, allocations: 0 / 0.7691 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3938, allocations: 7.984 kB / 0.7691 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3938, allocations: 0 / 0.7691 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.479e-05/0.3939, allocations: 19.98 kB / 0.7692 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/0.3942, allocations: 280.8 kB / 0.7694 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.3944, allocations: 62.69 kB / 0.7695 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.584e-05/0.3945, allocations: 24.84 kB / 0.7695 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.3945, allocations: 0 / 0.7695 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.3946, allocations: 79.27 kB / 0.7696 GB, free: 448 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3946, allocations: 0 / 0.7696 GB, free: 448 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0002166/0.3949, allocations: 85.67 kB / 0.7697 GB, free: 356 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.3949, allocations: 55.41 kB / 0.7697 GB, free: 288 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.213e-05/0.395, allocations: 105.8 kB / 0.7698 GB, free: 172 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.395, allocations: 29.7 kB / 0.7699 GB, free: 136 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.395, allocations: 84.08 kB / 0.7699 GB, free: 48 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.3951, allocations: 23.92 kB / 0.77 GB, free: 24 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.3951, allocations: 21.78 kB / 0.77 GB, free: 15.99 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.266e-05/0.3952, allocations: 314.8 kB / 0.7703 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.766e-05/0.3953, allocations: 15.98 kB / 0.7703 GB, free: 15.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.085e-05/0.3953, allocations: 23.94 kB / 0.7703 GB, free: 15.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.774e-05/0.3954, allocations: 40.84 kB / 0.7704 GB, free: 15.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3954, allocations: 256 / 0.7704 GB, free: 15.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001148/0.3955, allocations: 65.69 kB / 0.7704 GB, free: 15.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.3955, allocations: 6.5 kB / 0.7704 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3956, allocations: 4 kB / 0.7704 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3956, allocations: 4 kB / 0.7704 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.549e-05/0.3957, allocations: 15.92 kB / 0.7704 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.3957, allocations: 3.938 kB / 0.7704 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.302e-05/0.3957, allocations: 0 / 0.7704 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.3958, allocations: 11.98 kB / 0.7705 GB, free: 15.48 MB / 0.545 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 7.706e-05/0.3958, allocations: 120.4 kB / 0.7706 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.3959, allocations: 7.891 kB / 0.7706 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.396, allocations: 105.6 kB / 0.7707 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3961, allocations: 0 / 0.7707 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3961, allocations: 0 / 0.7707 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3961, allocations: 0 / 0.7707 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.3962, allocations: 185.4 kB / 0.7709 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3962, allocations: 4 kB / 0.7709 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.163e-05/0.3963, allocations: 16 kB / 0.7709 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3963, allocations: 0 / 0.7709 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.3963, allocations: 0 / 0.7709 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.3963, allocations: 3.984 kB / 0.7709 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3963, allocations: 0 / 0.7709 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.3965, allocations: 124.9 kB / 0.771 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.3965, allocations: 77.11 kB / 0.7711 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.3966, allocations: 8 kB / 0.7711 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.647e-05/0.3966, allocations: 4 kB / 0.7711 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.3967, allocations: 7.984 kB / 0.7711 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.3967, allocations: 4 kB / 0.7711 GB, free: 14.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.558e-05/0.3967, allocations: 87.45 kB / 0.7712 GB, free: 14.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3967, allocations: 0 / 0.7712 GB, free: 14.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001901/0.3969, allocations: 11.95 kB / 0.7712 GB, free: 14.63 MB / 0.545 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 8.651e-05/0.397, allocations: 111.3 kB / 0.7713 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.3972, allocations: 55.91 kB / 0.7714 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.3972, allocations: 3.938 kB / 0.7714 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6e-05/0.3972, allocations: 36.11 kB / 0.7714 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.3974, allocations: 0.6094 kB / 0.7714 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/0.3977, allocations: 145.5 kB / 0.7715 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.3979, allocations: 0.6845 MB / 0.7722 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.124e-05/0.3979, allocations: 15.73 kB / 0.7722 GB, free: 13.53 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.398, allocations: 15.44 kB / 0.7722 GB, free: 13.51 MB / 0.545 GB Notification: Performance of SimCode: time 1.493e-06/0.398, allocations: 0 / 0.7722 GB, free: 13.51 MB / 0.545 GB Notification: Performance of Templates: time 0.002479/0.4005, allocations: 0.6959 MB / 0.7729 GB, free: 12.85 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)