Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009132/0.0009132, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007756/0.007757, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.53/1.53, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.013/3.013, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.000401, allocations: 10.16 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3796, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001892/0.3815, allocations: 1.18 MB / 1.075 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000413/0.382, allocations: 175.5 kB / 1.075 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.58e-05/0.382, allocations: 0 / 1.075 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.209e-05/0.382, allocations: 11.92 kB / 1.075 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.3823, allocations: 15.92 kB / 1.075 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.3825, allocations: 55.42 kB / 1.076 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.619e-05/0.3826, allocations: 55.78 kB / 1.076 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3827, allocations: 8 kB / 1.076 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.121e-05/0.3827, allocations: 15.97 kB / 1.076 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.225e-05/0.3828, allocations: 19.92 kB / 1.076 GB, free: 6 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.3828, allocations: 4 kB / 1.076 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.3829, allocations: 4 kB / 1.076 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.04e-05/0.3829, allocations: 15.92 kB / 1.076 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.268e-05/0.383, allocations: 41.64 kB / 1.076 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.761e-05/0.3831, allocations: 59.94 kB / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3831, allocations: 0 / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3831, allocations: 0 / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.3831, allocations: 0 / 1.076 GB, free: 5.871 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.0005441/0.3836, allocations: 339.5 kB / 1.076 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.3837, allocations: 12.03 kB / 1.076 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.3837, allocations: 0.9375 kB / 1.076 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.3839, allocations: 176.2 kB / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.3839, allocations: 4.375 kB / 1.076 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.3839, allocations: 384 / 1.076 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.3841, allocations: 72.81 kB / 1.076 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3841, allocations: 4.125 kB / 1.076 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.3841, allocations: 7.938 kB / 1.076 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3841, allocations: 7.984 kB / 1.076 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.695e-05/0.3842, allocations: 12 kB / 1.076 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.3846, allocations: 272.9 kB / 1.077 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.611e-05/0.3847, allocations: 38.58 kB / 1.077 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.3848, allocations: 20.88 kB / 1.077 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.3848, allocations: 4 kB / 1.077 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.385, allocations: 63.39 kB / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.385, allocations: 0 / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002438/0.3853, allocations: 73.67 kB / 1.077 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/0.3853, allocations: 110.7 kB / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.93e-05/0.3855, allocations: 101.9 kB / 1.077 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.3855, allocations: 33.69 kB / 1.077 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.3855, allocations: 92.05 kB / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.3856, allocations: 7.844 kB / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.3856, allocations: 13.72 kB / 1.077 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3857, allocations: 322.8 kB / 1.077 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.777e-05/0.3858, allocations: 8 kB / 1.077 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.144e-05/0.3858, allocations: 34.75 kB / 1.078 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.312e-05/0.3859, allocations: 25.23 kB / 1.078 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3859, allocations: 0 / 1.078 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001039/0.386, allocations: 73.56 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.386, allocations: 5.406 kB / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.386, allocations: 0 / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.3861, allocations: 7.984 kB / 1.078 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.847e-05/0.3861, allocations: 4 kB / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.3862, allocations: 0 / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.3863, allocations: 11.98 kB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.3863, allocations: 0 / 1.078 GB, free: 3.691 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.0001122/0.3864, allocations: 125.7 kB / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.3864, allocations: 7.984 kB / 1.078 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.3865, allocations: 7.5 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3865, allocations: 0 / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3865, allocations: 0 / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3865, allocations: 0 / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.3866, allocations: 169.6 kB / 1.078 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3866, allocations: 4 kB / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.108e-05/0.3867, allocations: 4 kB / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3867, allocations: 0 / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.3867, allocations: 8 kB / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3867, allocations: 0 / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3867, allocations: 0 / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.3869, allocations: 96.89 kB / 1.078 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.3869, allocations: 85.09 kB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.3869, allocations: 3.938 kB / 1.078 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.3871, allocations: 11.98 kB / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.3871, allocations: 12 kB / 1.078 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.3871, allocations: 0 / 1.078 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.134e-05/0.3872, allocations: 87.33 kB / 1.078 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3872, allocations: 4 kB / 1.078 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002003/0.3874, allocations: 12 kB / 1.078 GB, free: 2.965 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.0001322/0.3875, allocations: 99.25 kB / 1.078 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.3876, allocations: 31.92 kB / 1.078 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3877, allocations: 0 / 1.078 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.1e-05/0.3877, allocations: 20 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.0001647/0.3879, allocations: 4.688 kB / 1.078 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.3882, allocations: 136.5 kB / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.3886, allocations: 0.6809 MB / 1.079 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.255e-05/0.3886, allocations: 4 kB / 1.079 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.3887, allocations: 11.44 kB / 1.079 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3887, allocations: 0 / 1.079 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of Templates: time 0.003491/0.3922, allocations: 0.835 MB / 1.08 GB, free: 1.102 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)