Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001424/0.001424, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001329/0.00133, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.443/1.443, 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/Buildings 12.0.0-master/package.mo): time 2.949/2.949, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 69.75 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3395, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002695/0.3423, allocations: 1.512 MB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003998/0.3427, allocations: 191.4 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.3e-05/0.3427, allocations: 0 / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.3428, allocations: 0 / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.343, allocations: 25.72 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.3432, allocations: 47.94 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.586e-05/0.3433, allocations: 51.84 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.403e-05/0.3434, allocations: 4 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.466e-05/0.3434, allocations: 27.91 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.685e-05/0.3435, allocations: 23.86 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.3435, allocations: 4 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.808e-05/0.3436, allocations: 4 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.3436, allocations: 11.92 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.3436, allocations: 23.91 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.058e-05/0.3437, allocations: 48.09 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3437, allocations: 0 / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.61e-07/0.3437, allocations: 0 / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.3438, allocations: 0 / 1.069 GB, free: 8.941 MB / 0.8262 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.0005347/0.3443, allocations: 351.5 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.3443, allocations: 8.031 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.3444, allocations: 4.938 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.3445, allocations: 172.2 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.3445, allocations: 8.375 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.3446, allocations: 384 / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.3447, allocations: 80.73 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3447, allocations: 192 / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.3447, allocations: 7.938 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3448, allocations: 3.938 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.856e-05/0.3448, allocations: 23.98 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.3452, allocations: 272.9 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.472e-05/0.3453, allocations: 42.5 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.3453, allocations: 16.86 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.3454, allocations: 4 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.3455, allocations: 55.48 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.3456, allocations: 0 / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002102/0.3458, allocations: 85.52 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.3458, allocations: 102.8 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.901e-05/0.3459, allocations: 105.8 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.346, allocations: 29.7 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.346, allocations: 88.14 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.3461, allocations: 11.83 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/0.3461, allocations: 21.72 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3462, allocations: 318.8 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.157e-05/0.3463, allocations: 8 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.309e-05/0.3463, allocations: 38.56 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.295e-05/0.3464, allocations: 28.89 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3464, allocations: 0 / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001115/0.3465, allocations: 61.53 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3465, allocations: 8 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3465, allocations: 0 / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3465, allocations: 0 / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.907e-05/0.3466, allocations: 4 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3466, allocations: 0 / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.3468, allocations: 15.92 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.3468, allocations: 0 / 1.071 GB, free: 6.742 MB / 0.8262 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 8.15e-05/0.3469, allocations: 125.8 kB / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.3469, allocations: 0 / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.3e-05/0.3469, allocations: 11.5 kB / 1.071 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.3469, allocations: 0 / 1.071 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3469, allocations: 448 / 1.071 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.3469, allocations: 0 / 1.071 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.3471, allocations: 177.5 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.3471, allocations: 4 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.3471, allocations: 7.938 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.3471, allocations: 4 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.3471, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3471, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3472, allocations: 4 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.3473, allocations: 97.12 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.3474, allocations: 85.09 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.3474, allocations: 0 / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3475, allocations: 7.984 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.3476, allocations: 12 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.3476, allocations: 0 / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.669e-05/0.3476, allocations: 91.27 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3477, allocations: 0 / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000193/0.3478, allocations: 8 kB / 1.072 GB, free: 6.02 MB / 0.8262 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.0001275/0.348, allocations: 105.1 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.3481, allocations: 27.98 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3481, allocations: 0 / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.147e-05/0.3482, allocations: 20 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.3484, allocations: 16.84 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.3487, allocations: 135 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.349, allocations: 0.6809 MB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.675e-05/0.349, allocations: 4 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.3491, allocations: 19.44 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3491, allocations: 0 / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of Templates: time 0.00323/0.3523, allocations: 0.8321 MB / 1.074 GB, free: 4.133 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)