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.001964/0.001964, allocations: 106.3 kB / 16.41 MB, free: 6.516 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.002125/0.002125, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002385/0.002385, allocations: 291.2 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 99.83 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5804/0.5825, allocations: 86.97 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003261/0.5858, allocations: 1.444 MB / 0.7685 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.5869, allocations: 0.5161 MB / 0.769 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.587, allocations: 0 / 0.769 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.853e-05/0.5871, allocations: 7.922 kB / 0.769 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.5874, allocations: 11.92 kB / 0.769 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.5875, allocations: 35.91 kB / 0.769 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.5877, allocations: 51.84 kB / 0.7691 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.5878, allocations: 11.5 kB / 0.7691 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.5879, allocations: 23.86 kB / 0.7691 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.524e-05/0.588, allocations: 23.92 kB / 0.7691 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.588, allocations: 0 / 0.7691 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.383e-05/0.588, allocations: 4 kB / 0.7691 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.5881, allocations: 19.97 kB / 0.7691 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.913e-05/0.5881, allocations: 15.92 kB / 0.7692 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.5883, allocations: 43.88 kB / 0.7692 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.5883, allocations: 3.984 kB / 0.7692 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5883, allocations: 3.938 kB / 0.7692 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.5883, allocations: 0 / 0.7692 GB, free: 1.684 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.0006488/0.589, allocations: 354.1 kB / 0.7696 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.589, allocations: 8.031 kB / 0.7696 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.5891, allocations: 4.938 kB / 0.7696 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.5892, allocations: 176.3 kB / 0.7697 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.5893, allocations: 384 / 0.7697 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.5893, allocations: 4.375 kB / 0.7697 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.5895, allocations: 61.92 kB / 0.7698 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.5895, allocations: 0 / 0.7698 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.5895, allocations: 4 kB / 0.7698 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.5895, allocations: 0 / 0.7698 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.009e-05/0.5896, allocations: 23.97 kB / 0.7698 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.59, allocations: 276.8 kB / 0.7701 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.5903, allocations: 70.61 kB / 0.7702 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.942e-05/0.5903, allocations: 16.86 kB / 0.7702 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.5904, allocations: 4 kB / 0.7702 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.5906, allocations: 67.38 kB / 0.7702 GB, free: 484 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.5906, allocations: 4 kB / 0.7702 GB, free: 480 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0002683/0.5909, allocations: 101.5 kB / 0.7703 GB, free: 372 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.5909, allocations: 51.41 kB / 0.7704 GB, free: 308 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.831e-05/0.591, allocations: 106 kB / 0.7705 GB, free: 192 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.591, allocations: 29.7 kB / 0.7705 GB, free: 156 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.5911, allocations: 84.2 kB / 0.7706 GB, free: 68 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.5911, allocations: 19.8 kB / 0.7706 GB, free: 48 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.5912, allocations: 17.72 kB / 0.7706 GB, free: 24 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5913, allocations: 318.8 kB / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-05/0.5913, allocations: 15.98 kB / 0.771 GB, free: 15.69 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.251e-05/0.5914, allocations: 19.97 kB / 0.771 GB, free: 15.67 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.232e-05/0.5915, allocations: 36.86 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.5915, allocations: 4 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001335/0.5916, allocations: 77.52 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.5916, allocations: 4 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.5916, allocations: 48 / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.5917, allocations: 3.984 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.997e-05/0.5918, allocations: 8 kB / 0.7711 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5918, allocations: 7.938 kB / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.081e-05/0.5918, allocations: 11.92 kB / 0.7711 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.5919, allocations: 4 kB / 0.7711 GB, free: 15.5 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 9.419e-05/0.592, allocations: 116.2 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.592, allocations: 4 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.5922, allocations: 105.5 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.5922, allocations: 4 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.5922, allocations: 4 kB / 0.7713 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.5922, allocations: 0 / 0.7713 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.5924, allocations: 185.5 kB / 0.7715 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5924, allocations: 0 / 0.7715 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.5925, allocations: 15.94 kB / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.5925, allocations: 3.984 kB / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.5925, allocations: 4 kB / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5925, allocations: 0 / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5925, allocations: 0 / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.5927, allocations: 125 kB / 0.7717 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.5927, allocations: 81.02 kB / 0.7717 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.5928, allocations: 0 / 0.7717 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.5928, allocations: 7.984 kB / 0.7717 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.5929, allocations: 8 kB / 0.7718 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.5929, allocations: 256 / 0.7718 GB, free: 14.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.311e-05/0.593, allocations: 91.27 kB / 0.7718 GB, free: 14.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.593, allocations: 0 / 0.7718 GB, free: 14.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001904/0.5932, allocations: 8 kB / 0.7719 GB, free: 14.66 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 0.0001236/0.5933, allocations: 103.2 kB / 0.7719 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001473/0.5934, allocations: 55.84 kB / 0.772 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.5935, allocations: 0 / 0.772 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.286e-05/0.5935, allocations: 31.94 kB / 0.772 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.5937, allocations: 6.719 kB / 0.772 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.5941, allocations: 171.2 kB / 0.7722 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.5943, allocations: 0.6924 MB / 0.7729 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.5944, allocations: 11.44 kB / 0.7729 GB, free: 13.53 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5944, allocations: 0 / 0.7729 GB, free: 13.53 MB / 0.545 GB Notification: Performance of Templates: time 0.002451/0.5968, allocations: 0.836 MB / 0.7737 GB, free: 12.7 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)