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.001564/0.001564, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001893/0.001893, allocations: 192.5 kB / 16.13 MB, free: 6.664 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.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001985/0.001985, allocations: 283 kB / 290.2 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9453/0.9453, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 90.66 kB / 0.5945 GB, free: 28.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1507, allocations: 86.98 MB / 0.6794 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002793/0.1536, allocations: 1.514 MB / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000442/0.154, allocations: 183.9 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.451e-05/0.1541, allocations: 0 / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.1541, allocations: 0 / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.1543, allocations: 23.84 kB / 0.6811 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.1545, allocations: 58.48 kB / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.483e-05/0.1546, allocations: 56.44 kB / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.819e-05/0.1547, allocations: 8.938 kB / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.894e-05/0.1547, allocations: 19.98 kB / 0.6813 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.445e-05/0.1548, allocations: 20.41 kB / 0.6813 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1548, allocations: 5.906 kB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.677e-05/0.1548, allocations: 4 kB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.544e-05/0.1549, allocations: 11.92 kB / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.18e-05/0.1549, allocations: 19.92 kB / 0.6813 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.404e-05/0.155, allocations: 47.8 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.155, allocations: 4 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.155, allocations: 0 / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.155, allocations: 0 / 0.6814 GB, free: 15.21 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004845/0.1555, allocations: 351.4 kB / 0.6817 GB, free: 14.81 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.1556, allocations: 8.031 kB / 0.6817 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.1556, allocations: 4.938 kB / 0.6817 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1557, allocations: 172.2 kB / 0.6819 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.1558, allocations: 4.375 kB / 0.6819 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.1558, allocations: 384 / 0.6819 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.1559, allocations: 80.81 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1559, allocations: 192 / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1559, allocations: 3.938 kB / 0.682 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.156, allocations: 0 / 0.682 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.28e-05/0.156, allocations: 19.98 kB / 0.682 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.1564, allocations: 284.8 kB / 0.6822 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.467e-05/0.1565, allocations: 30.58 kB / 0.6823 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.477e-05/0.1566, allocations: 16.94 kB / 0.6823 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.1566, allocations: 4 kB / 0.6823 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.1567, allocations: 63.33 kB / 0.6824 GB, free: 14.01 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.1567, allocations: 4 kB / 0.6824 GB, free: 14 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001961/0.1569, allocations: 77.58 kB / 0.6824 GB, free: 13.92 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.157, allocations: 102.8 kB / 0.6825 GB, free: 13.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.933e-05/0.1571, allocations: 105.9 kB / 0.6826 GB, free: 13.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.1571, allocations: 29.7 kB / 0.6827 GB, free: 13.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.1572, allocations: 96 kB / 0.6828 GB, free: 13.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.1572, allocations: 7.891 kB / 0.6828 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.1572, allocations: 25.7 kB / 0.6828 GB, free: 13.51 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.1575, allocations: 318.8 kB / 0.6831 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.802e-05/0.1575, allocations: 12 kB / 0.6831 GB, free: 13.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.15e-05/0.1576, allocations: 38.5 kB / 0.6831 GB, free: 13.13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.029e-05/0.1576, allocations: 24.86 kB / 0.6832 GB, free: 13.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1576, allocations: 0 / 0.6832 GB, free: 13.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.888e-05/0.1577, allocations: 61.59 kB / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1577, allocations: 8 kB / 0.6832 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.1577, allocations: 0 / 0.6832 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.1578, allocations: 0 / 0.6832 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.365e-05/0.1578, allocations: 12.02 kB / 0.6832 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.1578, allocations: 0 / 0.6832 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.158, allocations: 11.98 kB / 0.6833 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.158, allocations: 0 / 0.6833 GB, free: 13.01 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 (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 8.741e-05/0.1581, allocations: 123.2 kB / 0.6834 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.1581, allocations: 0 / 0.6834 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/0.1581, allocations: 11.48 kB / 0.6834 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1581, allocations: 0 / 0.6834 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1581, allocations: 0 / 0.6834 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1581, allocations: 4 kB / 0.6834 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.1583, allocations: 174 kB / 0.6836 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1583, allocations: 0 / 0.6836 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.333e-05/0.1583, allocations: 4 kB / 0.6836 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1583, allocations: 4 kB / 0.6836 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.1583, allocations: 0 / 0.6836 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1583, allocations: 4 kB / 0.6836 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1583, allocations: 0 / 0.6836 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.1585, allocations: 100.9 kB / 0.6837 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.1585, allocations: 89.09 kB / 0.6837 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.1586, allocations: 3.938 kB / 0.6837 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1587, allocations: 7.984 kB / 0.6838 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.1587, allocations: 4 kB / 0.6838 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.1587, allocations: 3.984 kB / 0.6838 GB, free: 12.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.384e-05/0.1588, allocations: 87.28 kB / 0.6838 GB, free: 12.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1588, allocations: 3.938 kB / 0.6838 GB, free: 12.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002036/0.159, allocations: 8 kB / 0.6839 GB, free: 12.29 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,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.0001024/0.1591, allocations: 107.2 kB / 0.684 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.1592, allocations: 31.98 kB / 0.684 GB, free: 12.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1592, allocations: 0 / 0.684 GB, free: 12.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.278e-05/0.1593, allocations: 19.92 kB / 0.684 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.1594, allocations: 10.08 kB / 0.684 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003163/0.1598, allocations: 131.2 kB / 0.6841 GB, free: 11.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1601, allocations: 0.6809 MB / 0.6848 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.764e-05/0.1601, allocations: 11.89 kB / 0.6848 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.1602, allocations: 11.44 kB / 0.6848 GB, free: 11.23 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1602, allocations: 0 / 0.6848 GB, free: 11.23 MB / 494.1 MB Notification: Performance of Templates: time 0.002791/0.163, allocations: 0.8345 MB / 0.6856 GB, free: 10.41 MB / 494.1 MB 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)