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.0009781/0.0009782, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.007482/0.007482, allocations: 172.9 kB / 16.27 MB, free: 6.652 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.592/1.592, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.982/2.982, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004296, allocations: 6.844 kB / 0.9158 GB, free: 33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3597, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.00182/0.3616, allocations: 1.184 MB / 1.075 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004589/0.3621, allocations: 175.5 kB / 1.075 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.938e-05/0.3621, allocations: 4 kB / 1.075 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.3621, allocations: 0 / 1.075 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002581/0.3624, allocations: 19.92 kB / 1.075 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.3626, allocations: 51.17 kB / 1.076 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.287e-05/0.3627, allocations: 59.72 kB / 1.076 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.3628, allocations: 11.98 kB / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.402e-05/0.3629, allocations: 12 kB / 1.076 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.373e-05/0.363, allocations: 27.84 kB / 1.076 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.363, allocations: 0 / 1.076 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.913e-05/0.3631, allocations: 4 kB / 1.076 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.085e-05/0.3631, allocations: 15.92 kB / 1.076 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.669e-05/0.3632, allocations: 45.62 kB / 1.076 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.3633, allocations: 52.06 kB / 1.076 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3633, allocations: 0 / 1.076 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3633, allocations: 4 kB / 1.076 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.3633, allocations: 0 / 1.076 GB, free: 5.863 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.0006029/0.3639, allocations: 335.5 kB / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.364, allocations: 12.03 kB / 1.076 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.364, allocations: 0.9375 kB / 1.076 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.3642, allocations: 180.2 kB / 1.076 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.3642, allocations: 384 / 1.076 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.3642, allocations: 4.375 kB / 1.076 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.3644, allocations: 72.75 kB / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3644, allocations: 192 / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.3644, allocations: 11.94 kB / 1.076 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3644, allocations: 0 / 1.076 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.741e-05/0.3645, allocations: 15.98 kB / 1.076 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.3649, allocations: 272.9 kB / 1.077 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.3651, allocations: 42.5 kB / 1.077 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.824e-05/0.3651, allocations: 24.92 kB / 1.077 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.3651, allocations: 0 / 1.077 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.3654, allocations: 67.39 kB / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.3654, allocations: 0 / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002492/0.3656, allocations: 69.62 kB / 1.077 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.671e-05/0.3657, allocations: 110.8 kB / 1.077 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.803e-05/0.3658, allocations: 105.8 kB / 1.077 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.3658, allocations: 25.7 kB / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.3659, allocations: 92.03 kB / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.3659, allocations: 11.84 kB / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.366, allocations: 17.72 kB / 1.077 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3661, allocations: 314.8 kB / 1.077 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.803e-05/0.3662, allocations: 15.98 kB / 1.077 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.948e-05/0.3662, allocations: 26.58 kB / 1.077 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.761e-05/0.3663, allocations: 32.84 kB / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3663, allocations: 0 / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000104/0.3664, allocations: 69.47 kB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.3664, allocations: 8.031 kB / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3665, allocations: 0 / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3665, allocations: 0 / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.499e-05/0.3666, allocations: 8 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3666, allocations: 0 / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.3667, allocations: 11.98 kB / 1.078 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.3667, allocations: 0 / 1.078 GB, free: 3.684 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 0.0001214/0.3668, allocations: 117.8 kB / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.3669, allocations: 4 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.3669, allocations: 11.5 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3669, allocations: 3.984 kB / 1.078 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3669, allocations: 0 / 1.078 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3669, allocations: 0 / 1.078 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.3671, allocations: 169.6 kB / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3671, allocations: 448 / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.597e-05/0.3671, allocations: 7.938 kB / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3671, allocations: 3.984 kB / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.3671, allocations: 8 kB / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3671, allocations: 4 kB / 1.078 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3672, allocations: 4 kB / 1.078 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.3673, allocations: 88.97 kB / 1.078 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.8e-05/0.3674, allocations: 85.09 kB / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.3674, allocations: 0 / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.3675, allocations: 18.77 kB / 1.078 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.3676, allocations: 7.984 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.3676, allocations: 8 kB / 1.078 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.351e-05/0.3676, allocations: 79.28 kB / 1.078 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3676, allocations: 0 / 1.078 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002062/0.3678, allocations: 16 kB / 1.078 GB, free: 2.961 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.0001435/0.368, allocations: 107.2 kB / 1.078 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.3682, allocations: 27.98 kB / 1.078 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3682, allocations: 0 / 1.078 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.3682, allocations: 12 kB / 1.078 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.3684, allocations: 11.94 kB / 1.078 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.3687, allocations: 135.3 kB / 1.079 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.3691, allocations: 0.6809 MB / 1.079 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.887e-05/0.3691, allocations: 15.97 kB / 1.079 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.3691, allocations: 7.438 kB / 1.079 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.3691, allocations: 4 kB / 1.079 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of Templates: time 0.003315/0.3725, allocations: 0.8264 MB / 1.08 GB, free: 1.086 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)