Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001244/0.001244, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.358/1.358, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002582/0.002582, allocations: 286.8 kB / 291.3 MB, free: 14.57 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.193/1.193, allocations: 178.5 MB / 0.5079 GB, free: 12.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002783/0.002783, allocations: 99.84 kB / 0.6071 GB, free: 9.32 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1694, allocations: 89.13 MB / 0.6941 GB, free: 108 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002654/0.1721, allocations: 1.471 MB / 0.6956 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003983/0.1725, allocations: 186.5 kB / 0.6958 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.1726, allocations: 0 / 0.6958 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.569e-05/0.1726, allocations: 0 / 0.6958 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.1728, allocations: 31.84 kB / 0.6958 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.173, allocations: 47.86 kB / 0.6958 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.949e-05/0.1731, allocations: 63.78 kB / 0.6959 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.687e-05/0.1732, allocations: 8 kB / 0.6959 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.931e-05/0.1733, allocations: 23.97 kB / 0.6959 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.821e-05/0.1733, allocations: 15.92 kB / 0.6959 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.1734, allocations: 4 kB / 0.6959 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.593e-05/0.1734, allocations: 4 kB / 0.696 GB, free: 14.24 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.1734, allocations: 15.92 kB / 0.696 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.209e-05/0.1735, allocations: 31.91 kB / 0.696 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.227e-05/0.1736, allocations: 52.08 kB / 0.696 GB, free: 14.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1736, allocations: 0 / 0.696 GB, free: 14.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1736, allocations: 0 / 0.696 GB, free: 14.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.1736, allocations: 3.938 kB / 0.6961 GB, free: 14.14 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.0005616/0.1742, allocations: 351.4 kB / 0.6964 GB, free: 13.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.1742, allocations: 12.02 kB / 0.6964 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.1742, allocations: 0.9375 kB / 0.6964 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.1744, allocations: 172.2 kB / 0.6966 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.1744, allocations: 12.38 kB / 0.6966 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.1744, allocations: 384 / 0.6966 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.1746, allocations: 72.81 kB / 0.6966 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.1746, allocations: 192 / 0.6966 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1746, allocations: 3.938 kB / 0.6966 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1746, allocations: 0 / 0.6966 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.792e-05/0.1747, allocations: 23.92 kB / 0.6967 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.175, allocations: 272.9 kB / 0.6969 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.094e-05/0.1751, allocations: 42.56 kB / 0.697 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.437e-05/0.1752, allocations: 12.86 kB / 0.697 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.1752, allocations: 4.078 kB / 0.697 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.1753, allocations: 67.33 kB / 0.6971 GB, free: 12.94 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 3.216e-06/0.1754, allocations: 0 / 0.6971 GB, free: 12.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.000194/0.1756, allocations: 81.53 kB / 0.6971 GB, free: 12.85 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.1756, allocations: 102.8 kB / 0.6972 GB, free: 12.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.459e-05/0.1757, allocations: 109.8 kB / 0.6973 GB, free: 12.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.1758, allocations: 25.7 kB / 0.6974 GB, free: 12.58 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.1758, allocations: 88.14 kB / 0.6974 GB, free: 12.49 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.1758, allocations: 11.83 kB / 0.6975 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.1759, allocations: 17.72 kB / 0.6975 GB, free: 12.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.1761, allocations: 326.8 kB / 0.6978 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.344e-05/0.1761, allocations: 11.94 kB / 0.6978 GB, free: 12.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.622e-05/0.1762, allocations: 38.56 kB / 0.6978 GB, free: 12.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.903e-05/0.1762, allocations: 20.86 kB / 0.6979 GB, free: 12.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1762, allocations: 4 kB / 0.6979 GB, free: 12.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001093/0.1763, allocations: 57.59 kB / 0.6979 GB, free: 11.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.1764, allocations: 4 kB / 0.6979 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.1764, allocations: 8.031 kB / 0.6979 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.1764, allocations: 0 / 0.6979 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.179e-05/0.1765, allocations: 7.938 kB / 0.6979 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1765, allocations: 3.984 kB / 0.6979 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.1766, allocations: 4 kB / 0.6979 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1766, allocations: 4 kB / 0.6979 GB, free: 11.95 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.477e-05/0.1767, allocations: 125 kB / 0.6981 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.1767, allocations: 0 / 0.6981 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.161e-05/0.1767, allocations: 11.5 kB / 0.6981 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1767, allocations: 7.938 kB / 0.6981 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1768, allocations: 0 / 0.6981 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1768, allocations: 0 / 0.6981 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.1769, allocations: 173.6 kB / 0.6982 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1769, allocations: 0 / 0.6982 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.177, allocations: 4 kB / 0.6982 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.177, allocations: 0 / 0.6982 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.177, allocations: 448 / 0.6982 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.177, allocations: 0 / 0.6982 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.177, allocations: 4 kB / 0.6983 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.1771, allocations: 104.9 kB / 0.6984 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.1772, allocations: 89.03 kB / 0.6984 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.1772, allocations: 0 / 0.6984 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.1774, allocations: 11.98 kB / 0.6984 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.1774, allocations: 4 kB / 0.6985 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.1774, allocations: 240 / 0.6985 GB, free: 11.33 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.99e-05/0.1775, allocations: 87.27 kB / 0.6985 GB, free: 11.24 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1775, allocations: 4 kB / 0.6985 GB, free: 11.24 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000196/0.1777, allocations: 12 kB / 0.6985 GB, free: 11.23 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,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0001052/0.1778, allocations: 103.2 kB / 0.6986 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000121/0.1779, allocations: 31.92 kB / 0.6987 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1779, allocations: 4 kB / 0.6987 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.545e-05/0.178, allocations: 12 kB / 0.6987 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.1781, allocations: 12.48 kB / 0.6987 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.1784, allocations: 155.1 kB / 0.6989 GB, free: 10.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.1787, allocations: 0.6807 MB / 0.6995 GB, free: 10.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.1788, allocations: 7.438 kB / 0.6995 GB, free: 10.16 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.1788, allocations: 0 / 0.6995 GB, free: 10.16 MB / 0.545 GB Notification: Performance of Templates: time 0.002237/0.181, allocations: 0.826 MB / 0.7003 GB, free: 9.34 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)