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.001163/0.001163, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 194.1 kB / 16.53 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.974/2.974, allocations: 472.6 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001888, allocations: 68.52 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3555, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003092/0.3586, allocations: 1.461 MB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004776/0.3592, allocations: 195 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.278e-05/0.3592, allocations: 0 / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.3593, allocations: 0 / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.3595, allocations: 19.86 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.3599, allocations: 55.86 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.36, allocations: 59.77 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3601, allocations: 12 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.17e-05/0.3602, allocations: 19.98 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.383e-05/0.3603, allocations: 19.92 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.3603, allocations: 4 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.965e-05/0.3603, allocations: 4 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.136e-05/0.3604, allocations: 23.91 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.3604, allocations: 15.92 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.3605, allocations: 56.08 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3606, allocations: 0 / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3606, allocations: 0 / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3606, allocations: 0 / 1.07 GB, free: 8.465 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.0005703/0.3611, allocations: 343.5 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3612, allocations: 12.03 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.783e-05/0.3613, allocations: 0.9375 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.3614, allocations: 180.2 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.3615, allocations: 384 / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.3615, allocations: 4.375 kB / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.3616, allocations: 76.75 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3616, allocations: 192 / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.3617, allocations: 11.94 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.3617, allocations: 0 / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.899e-05/0.3618, allocations: 15.98 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.3622, allocations: 272.8 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.3623, allocations: 42.56 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.083e-05/0.3623, allocations: 16.86 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.3624, allocations: 3.938 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.3625, allocations: 67.48 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3625, allocations: 0 / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002151/0.3627, allocations: 77.52 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.3628, allocations: 106.8 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.179e-05/0.3629, allocations: 109.8 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.3629, allocations: 25.7 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.363, allocations: 84.14 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.363, allocations: 15.83 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.3631, allocations: 21.66 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3632, allocations: 322.8 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.967e-05/0.3632, allocations: 8 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.157e-05/0.3633, allocations: 38.56 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.374e-05/0.3633, allocations: 29.17 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3633, allocations: 0 / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000109/0.3634, allocations: 65.59 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3635, allocations: 4 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3635, allocations: 0 / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3635, allocations: 0 / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/0.3636, allocations: 8 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3636, allocations: 0 / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.3637, allocations: 16.02 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.3637, allocations: 0 / 1.072 GB, free: 6.266 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.341e-05/0.3638, allocations: 125.7 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.3638, allocations: 4 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.112e-05/0.3639, allocations: 3.5 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3639, allocations: 0 / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3639, allocations: 0 / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3639, allocations: 4 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.364, allocations: 177.6 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.364, allocations: 0 / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/0.364, allocations: 8 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.364, allocations: 0 / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3641, allocations: 0 / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3641, allocations: 3.938 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3641, allocations: 0 / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.3642, allocations: 96.95 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.3643, allocations: 81.09 kB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.3643, allocations: 8 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.3644, allocations: 11.98 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.3645, allocations: 3.938 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.3645, allocations: 4.234 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.717e-05/0.3645, allocations: 87.33 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3645, allocations: 0 / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001952/0.3647, allocations: 12 kB / 1.073 GB, free: 5.547 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.0001685/0.3649, allocations: 99.95 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.3651, allocations: 43.98 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3651, allocations: 0 / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.993e-05/0.3652, allocations: 15.94 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.3654, allocations: 7.938 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003913/0.3658, allocations: 137.2 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.3661, allocations: 0.6807 MB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.678e-05/0.3661, allocations: 8 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.3661, allocations: 11.44 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of SimCode: time 4.6e-07/0.3662, allocations: 0 / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of Templates: time 0.003324/0.3695, allocations: 0.8819 MB / 1.074 GB, free: 3.617 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)