Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 103.2 kB / 16.27 MB, free: 6 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.0013/0.0013, allocations: 191.9 kB / 17.2 MB, free: 5.609 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.441/1.441, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002542/0.002542, allocations: 286 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.196/1.196, allocations: 178.5 MB / 0.5079 GB, free: 12.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002762/0.002762, allocations: 95.84 kB / 0.6071 GB, free: 9.297 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1745, allocations: 89.14 MB / 0.6942 GB, free: 80 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002691/0.1772, allocations: 1.48 MB / 0.6956 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007508/0.1779, allocations: 462.8 kB / 0.696 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.864e-05/0.178, allocations: 0 / 0.696 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.382e-05/0.178, allocations: 3.938 kB / 0.6961 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.1783, allocations: 27.84 kB / 0.6961 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.739e-05/0.1783, allocations: 15.98 kB / 0.6961 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.257e-05/0.1784, allocations: 59.7 kB / 0.6962 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.909e-05/0.1785, allocations: 8 kB / 0.6962 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.25e-05/0.1786, allocations: 23.92 kB / 0.6962 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/0.1787, allocations: 23.86 kB / 0.6962 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.1787, allocations: 4 kB / 0.6962 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.337e-05/0.1787, allocations: 4 kB / 0.6962 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.535e-05/0.1787, allocations: 11.97 kB / 0.6962 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.1788, allocations: 27.88 kB / 0.6963 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.705e-05/0.1789, allocations: 48.09 kB / 0.6963 GB, free: 13.87 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1789, allocations: 0 / 0.6963 GB, free: 13.87 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1789, allocations: 0 / 0.6963 GB, free: 13.87 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.1789, allocations: 0 / 0.6963 GB, free: 13.87 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005527/0.1795, allocations: 343.4 kB / 0.6966 GB, free: 13.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.1795, allocations: 12.03 kB / 0.6966 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.1796, allocations: 4.844 kB / 0.6966 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.1797, allocations: 176.4 kB / 0.6968 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1797, allocations: 8.375 kB / 0.6968 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.1798, allocations: 384 / 0.6968 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.1799, allocations: 65.86 kB / 0.6969 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1799, allocations: 0 / 0.6969 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1799, allocations: 0 / 0.6969 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.1799, allocations: 0 / 0.6969 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.177e-05/0.18, allocations: 12 kB / 0.6969 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003587/0.1803, allocations: 280.8 kB / 0.6972 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.1805, allocations: 50.48 kB / 0.6972 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.216e-05/0.1805, allocations: 28.94 kB / 0.6972 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.1805, allocations: 0 / 0.6972 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.1807, allocations: 63.39 kB / 0.6973 GB, free: 12.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.1807, allocations: 0 / 0.6973 GB, free: 12.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0002021/0.1809, allocations: 73.88 kB / 0.6974 GB, free: 12.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.181, allocations: 67.33 kB / 0.6974 GB, free: 12.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.565e-05/0.1811, allocations: 109.8 kB / 0.6975 GB, free: 12.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.1811, allocations: 37.69 kB / 0.6976 GB, free: 12.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.1812, allocations: 84.05 kB / 0.6977 GB, free: 12.28 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.1812, allocations: 11.91 kB / 0.6977 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.1812, allocations: 17.72 kB / 0.6977 GB, free: 12.24 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1814, allocations: 318.8 kB / 0.698 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.204e-05/0.1814, allocations: 12 kB / 0.698 GB, free: 11.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.699e-05/0.1814, allocations: 20.05 kB / 0.698 GB, free: 11.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.105e-05/0.1815, allocations: 32.86 kB / 0.698 GB, free: 11.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1815, allocations: 0 / 0.698 GB, free: 11.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000108/0.1816, allocations: 69.53 kB / 0.6981 GB, free: 11.78 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.1816, allocations: 5.875 kB / 0.6981 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1817, allocations: 0 / 0.6981 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1817, allocations: 4 kB / 0.6981 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.377e-05/0.1817, allocations: 4 kB / 0.6981 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.1818, allocations: 0 / 0.6981 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.332e-05/0.1818, allocations: 11.98 kB / 0.6981 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.1818, allocations: 0 / 0.6981 GB, free: 11.76 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 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.501e-05/0.1819, allocations: 117.8 kB / 0.6982 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.182, allocations: 7.906 kB / 0.6983 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.799e-05/0.182, allocations: 3.969 kB / 0.6983 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.182, allocations: 0 / 0.6983 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.182, allocations: 0 / 0.6983 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.182, allocations: 3.984 kB / 0.6983 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.1821, allocations: 177.6 kB / 0.6984 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1822, allocations: 0 / 0.6984 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.705e-05/0.1822, allocations: 8 kB / 0.6984 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.1822, allocations: 0 / 0.6984 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1822, allocations: 3.938 kB / 0.6984 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1822, allocations: 3.984 kB / 0.6984 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1822, allocations: 4.125 kB / 0.6985 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.1824, allocations: 97.06 kB / 0.6985 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.1824, allocations: 88.95 kB / 0.6986 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.1825, allocations: 0 / 0.6986 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.225e-05/0.1825, allocations: 11.98 kB / 0.6986 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.1826, allocations: 3.938 kB / 0.6986 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.1826, allocations: 4 kB / 0.6986 GB, free: 11.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.588e-05/0.1826, allocations: 91.27 kB / 0.6987 GB, free: 11.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1827, allocations: 0 / 0.6987 GB, free: 11.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001829/0.1828, allocations: 12 kB / 0.6987 GB, free: 11.04 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,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0001004/0.1829, allocations: 99.25 kB / 0.6988 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.1831, allocations: 47.86 kB / 0.6989 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1831, allocations: 0 / 0.6989 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.344e-05/0.1831, allocations: 19.98 kB / 0.6989 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.1833, allocations: 5.406 kB / 0.6989 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.1836, allocations: 167.7 kB / 0.6991 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.1839, allocations: 0.6846 MB / 0.6997 GB, free: 9.953 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.1839, allocations: 11.44 kB / 0.6998 GB, free: 9.941 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.1839, allocations: 0 / 0.6998 GB, free: 9.941 MB / 0.545 GB Notification: Performance of Templates: time 0.002024/0.1859, allocations: 0.7407 MB / 0.7005 GB, free: 9.211 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)