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.001338/0.001338, 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.001366/0.001366, allocations: 195.1 kB / 16.14 MB, free: 6.645 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.427/1.427, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002482/0.002482, allocations: 280.9 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.102/1.102, allocations: 178.6 MB / 0.5068 GB, free: 4.812 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002981/0.002981, allocations: 102.7 kB / 0.6057 GB, free: 25.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1549, allocations: 89.15 MB / 0.6928 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002936/0.1579, allocations: 1.521 MB / 0.6943 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004067/0.1583, allocations: 186.8 kB / 0.6945 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.411e-05/0.1584, allocations: 0 / 0.6945 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.903e-05/0.1584, allocations: 0 / 0.6945 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.1586, allocations: 23.84 kB / 0.6945 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.1588, allocations: 47.94 kB / 0.6945 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.469e-05/0.1589, allocations: 51.84 kB / 0.6946 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.791e-05/0.159, allocations: 12.72 kB / 0.6946 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.227e-05/0.159, allocations: 19.98 kB / 0.6946 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.211e-05/0.1591, allocations: 24.56 kB / 0.6946 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.1592, allocations: 0 / 0.6946 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.81e-05/0.1592, allocations: 4.688 kB / 0.6946 GB, free: 3 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.889e-05/0.1592, allocations: 11.92 kB / 0.6947 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.1593, allocations: 20.95 kB / 0.6947 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.1594, allocations: 48.08 kB / 0.6947 GB, free: 2.922 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1594, allocations: 8 kB / 0.6947 GB, free: 2.914 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1594, allocations: 0 / 0.6947 GB, free: 2.914 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1594, allocations: 0 / 0.6947 GB, free: 2.914 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.0005716/0.16, allocations: 347.4 kB / 0.6951 GB, free: 2.523 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.16, allocations: 8.031 kB / 0.6951 GB, free: 2.516 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.1601, allocations: 8.922 kB / 0.6951 GB, free: 2.508 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.1602, allocations: 176.2 kB / 0.6952 GB, free: 2.297 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.1602, allocations: 384 / 0.6952 GB, free: 2.297 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.1603, allocations: 4.375 kB / 0.6952 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.1604, allocations: 72.81 kB / 0.6953 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1605, allocations: 192 / 0.6953 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.1605, allocations: 7.938 kB / 0.6953 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1605, allocations: 4 kB / 0.6953 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.771e-05/0.1606, allocations: 15.98 kB / 0.6953 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.161, allocations: 276.8 kB / 0.6956 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.959e-05/0.1611, allocations: 38.56 kB / 0.6956 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.152e-05/0.1611, allocations: 24.94 kB / 0.6957 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.1611, allocations: 0 / 0.6957 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.1613, allocations: 67.33 kB / 0.6957 GB, free: 1.707 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.1614, allocations: 0 / 0.6957 GB, free: 1.707 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.000218/0.1616, allocations: 77.53 kB / 0.6958 GB, free: 1.625 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.353e-05/0.1617, allocations: 106.8 kB / 0.6959 GB, free: 1.496 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.373e-05/0.1618, allocations: 101.9 kB / 0.696 GB, free: 1.387 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.1618, allocations: 29.7 kB / 0.696 GB, free: 1.352 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.1619, allocations: 88.12 kB / 0.6961 GB, free: 1.262 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.1619, allocations: 15.69 kB / 0.6961 GB, free: 1.246 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.162, allocations: 21.72 kB / 0.6962 GB, free: 1.219 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1621, allocations: 322.8 kB / 0.6965 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.236e-05/0.1621, allocations: 16 kB / 0.6965 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.872e-05/0.1622, allocations: 34.5 kB / 0.6965 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.594e-05/0.1623, allocations: 24.86 kB / 0.6965 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1623, allocations: 0 / 0.6965 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001071/0.1624, allocations: 57.69 kB / 0.6966 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1624, allocations: 4 kB / 0.6966 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1624, allocations: 0 / 0.6966 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1624, allocations: 0 / 0.6966 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.362e-05/0.1625, allocations: 16.02 kB / 0.6966 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1625, allocations: 4 kB / 0.6966 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.1627, allocations: 4 kB / 0.6966 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.1627, allocations: 3.984 kB / 0.6966 GB, free: 0.7148 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 0.0001065/0.1628, allocations: 122.4 kB / 0.6967 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.1628, allocations: 4 kB / 0.6967 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.874e-05/0.1628, allocations: 3.5 kB / 0.6967 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1628, allocations: 0 / 0.6967 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1628, allocations: 448 / 0.6967 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1629, allocations: 4 kB / 0.6967 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.163, allocations: 181.7 kB / 0.6969 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.163, allocations: 4 kB / 0.6969 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.201e-05/0.1631, allocations: 0 / 0.6969 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1631, allocations: 3.984 kB / 0.6969 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.1631, allocations: 4 kB / 0.6969 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1631, allocations: 0 / 0.6969 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1631, allocations: 0 / 0.6969 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.1632, allocations: 96.98 kB / 0.697 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/0.1633, allocations: 85.09 kB / 0.6971 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.1634, allocations: 4 kB / 0.6971 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.1635, allocations: 11.98 kB / 0.6971 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.1635, allocations: 0 / 0.6971 GB, free: 108 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.1635, allocations: 4 kB / 0.6971 GB, free: 104 kB / 494.1 MB Notification: Performance of sorting global known variables: time 5.56e-05/0.1636, allocations: 87.27 kB / 0.6972 GB, free: 16 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.823e-06/0.1636, allocations: 0 / 0.6972 GB, free: 16 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001998/0.1638, allocations: 15.94 kB / 0.6972 GB, free: 0 / 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.0001232/0.1639, allocations: 101.4 kB / 0.6973 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.1641, allocations: 35.92 kB / 0.6974 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1641, allocations: 0 / 0.6974 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.673e-05/0.1641, allocations: 23.92 kB / 0.6974 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.1643, allocations: 7.938 kB / 0.6974 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.1646, allocations: 139.2 kB / 0.6975 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.165, allocations: 0.677 MB / 0.6982 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.165, allocations: 8 kB / 0.6982 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.165, allocations: 11.42 kB / 0.6982 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.165, allocations: 0 / 0.6982 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.003329/0.1684, allocations: 0.8245 MB / 0.699 GB, free: 14.12 MB / 0.4981 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)