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.002066/0.002066, allocations: 105.5 kB / 16.36 MB, free: 5.824 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.002417/0.002417, allocations: 193.8 kB / 17.29 MB, free: 5.48 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.58/1.58, 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.002298/0.002298, allocations: 290.1 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.089/1.089, allocations: 169.2 MB / 0.4989 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001765, allocations: 94.23 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2233, allocations: 86.97 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003535/0.2269, allocations: 1.446 MB / 0.683 GB, free: 5.996 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009464/0.2278, allocations: 0.4995 MB / 0.6835 GB, free: 5.492 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.2279, allocations: 0 / 0.6835 GB, free: 5.492 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.634e-05/0.228, allocations: 7.938 kB / 0.6835 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.2282, allocations: 19.86 kB / 0.6835 GB, free: 5.465 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.2284, allocations: 27.91 kB / 0.6836 GB, free: 5.438 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.2285, allocations: 51.78 kB / 0.6836 GB, free: 5.387 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2286, allocations: 11.98 kB / 0.6836 GB, free: 5.375 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.2287, allocations: 19.98 kB / 0.6836 GB, free: 5.355 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.2288, allocations: 23.91 kB / 0.6837 GB, free: 5.332 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.2289, allocations: 4 kB / 0.6837 GB, free: 5.328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.584e-05/0.2289, allocations: 4 kB / 0.6837 GB, free: 5.324 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.219e-05/0.2289, allocations: 11.92 kB / 0.6837 GB, free: 5.312 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.443e-05/0.229, allocations: 27.92 kB / 0.6837 GB, free: 5.285 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.2291, allocations: 47.8 kB / 0.6837 GB, free: 5.238 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2291, allocations: 3.938 kB / 0.6838 GB, free: 5.234 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2291, allocations: 0 / 0.6838 GB, free: 5.234 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.2291, allocations: 0 / 0.6838 GB, free: 5.234 MB / 494.1 MB 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.0006776/0.2298, allocations: 351.4 kB / 0.6841 GB, free: 4.844 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.2299, allocations: 8.031 kB / 0.6841 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.2299, allocations: 8.938 kB / 0.6841 GB, free: 4.828 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.2301, allocations: 168.3 kB / 0.6843 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.2301, allocations: 4.375 kB / 0.6843 GB, free: 4.621 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.2302, allocations: 4.375 kB / 0.6843 GB, free: 4.617 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.2303, allocations: 57.98 kB / 0.6843 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.2303, allocations: 0 / 0.6843 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.2303, allocations: 0 / 0.6843 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.2304, allocations: 4 kB / 0.6843 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.696e-05/0.2304, allocations: 27.97 kB / 0.6844 GB, free: 4.523 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.2309, allocations: 280.7 kB / 0.6846 GB, free: 4.199 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.2311, allocations: 70.66 kB / 0.6847 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.528e-05/0.2312, allocations: 16.86 kB / 0.6847 GB, free: 4.102 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.2312, allocations: 0 / 0.6847 GB, free: 4.102 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.2314, allocations: 79.31 kB / 0.6848 GB, free: 4.012 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.2314, allocations: 0 / 0.6848 GB, free: 4.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002508/0.2316, allocations: 85.67 kB / 0.6849 GB, free: 3.922 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.2317, allocations: 55.41 kB / 0.6849 GB, free: 3.855 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.148e-05/0.2318, allocations: 105.8 kB / 0.685 GB, free: 3.742 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.2318, allocations: 25.7 kB / 0.685 GB, free: 3.711 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.2319, allocations: 92.05 kB / 0.6851 GB, free: 3.617 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.2319, allocations: 23.8 kB / 0.6852 GB, free: 3.594 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.232, allocations: 17.72 kB / 0.6852 GB, free: 3.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2321, allocations: 326.8 kB / 0.6855 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.84e-05/0.2322, allocations: 12 kB / 0.6855 GB, free: 3.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.787e-05/0.2322, allocations: 23.91 kB / 0.6855 GB, free: 3.207 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.381e-05/0.2323, allocations: 32.86 kB / 0.6855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2323, allocations: 0 / 0.6855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001379/0.2324, allocations: 73.67 kB / 0.6856 GB, free: 3.094 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.2325, allocations: 8 kB / 0.6856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2325, allocations: 0 / 0.6856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2325, allocations: 0 / 0.6856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.284e-05/0.2326, allocations: 12 kB / 0.6856 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.2326, allocations: 3.938 kB / 0.6856 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.2327, allocations: 7.984 kB / 0.6857 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.2327, allocations: 0 / 0.6857 GB, free: 3.062 MB / 494.1 MB 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.775e-05/0.2328, allocations: 117.8 kB / 0.6858 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.2328, allocations: 7.844 kB / 0.6858 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.233, allocations: 105.6 kB / 0.6859 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2331, allocations: 4 kB / 0.6859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.2331, allocations: 0 / 0.6859 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2331, allocations: 4 kB / 0.6859 GB, free: 2.812 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.2333, allocations: 185.5 kB / 0.6861 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.2333, allocations: 256 / 0.6861 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.168e-05/0.2333, allocations: 15.98 kB / 0.6861 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2333, allocations: 0 / 0.6861 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.2334, allocations: 8 kB / 0.6861 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2334, allocations: 0 / 0.6861 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2334, allocations: 0 / 0.6861 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.2336, allocations: 124.9 kB / 0.6862 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.2336, allocations: 81.11 kB / 0.6863 GB, free: 2.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.2336, allocations: 0 / 0.6863 GB, free: 2.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.2337, allocations: 3.984 kB / 0.6863 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.2338, allocations: 8 kB / 0.6863 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.2338, allocations: 11.92 kB / 0.6863 GB, free: 2.297 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.197e-05/0.2338, allocations: 79.28 kB / 0.6864 GB, free: 2.219 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2338, allocations: 0 / 0.6864 GB, free: 2.219 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001915/0.234, allocations: 20 kB / 0.6864 GB, free: 2.199 MB / 494.1 MB 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.0001535/0.2342, allocations: 99.19 kB / 0.6865 GB, free: 2.094 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.2344, allocations: 51.91 kB / 0.6865 GB, free: 2.043 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2344, allocations: 4 kB / 0.6865 GB, free: 2.039 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.587e-05/0.2344, allocations: 32.06 kB / 0.6866 GB, free: 2.008 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.2346, allocations: 12.59 kB / 0.6866 GB, free: 1.996 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.235, allocations: 141.5 kB / 0.6867 GB, free: 1.832 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.2354, allocations: 0.6924 MB / 0.6874 GB, free: 1.113 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.242e-05/0.2355, allocations: 12.25 kB / 0.6874 GB, free: 1.102 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.2355, allocations: 11.44 kB / 0.6874 GB, free: 1.09 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2355, allocations: 0 / 0.6874 GB, free: 1.09 MB / 494.1 MB Notification: Performance of Templates: time 0.003178/0.2387, allocations: 0.6793 MB / 0.6881 GB, free: 456 kB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)