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.004732/0.004732, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001101/0.001101, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00212/0.00212, allocations: 293.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9469/0.9469, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 87.86 kB / 0.6815 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3746, allocations: 86.98 MB / 0.7664 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002264/0.3769, allocations: 1.441 MB / 0.7678 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003927/0.3773, allocations: 195.3 kB / 0.768 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.588e-05/0.3774, allocations: 4 kB / 0.768 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.3774, allocations: 4 kB / 0.768 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.3776, allocations: 23.86 kB / 0.768 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.3778, allocations: 61.8 kB / 0.7681 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.338e-05/0.3779, allocations: 55.83 kB / 0.7681 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.578e-05/0.378, allocations: 8 kB / 0.7681 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.395e-05/0.3781, allocations: 27.86 kB / 0.7682 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.866e-05/0.3781, allocations: 23.91 kB / 0.7682 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.3782, allocations: 4 kB / 0.7682 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.679e-05/0.3782, allocations: 8 kB / 0.7682 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.3782, allocations: 11.98 kB / 0.7682 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.456e-05/0.3783, allocations: 19.92 kB / 0.7682 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.3784, allocations: 51.52 kB / 0.7683 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3784, allocations: 0 / 0.7683 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3784, allocations: 0 / 0.7683 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3784, allocations: 0 / 0.7683 GB, free: 2.109 MB / 0.5294 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.0005551/0.379, allocations: 357.7 kB / 0.7686 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.379, allocations: 16.03 kB / 0.7686 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.3791, allocations: 4.891 kB / 0.7686 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.3792, allocations: 168.3 kB / 0.7688 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.3793, allocations: 4.375 kB / 0.7688 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.3793, allocations: 4.375 kB / 0.7688 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.3794, allocations: 74.62 kB / 0.7689 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3795, allocations: 192 / 0.7689 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.3795, allocations: 7.938 kB / 0.7689 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.3795, allocations: 4 kB / 0.7689 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.211e-05/0.3796, allocations: 23.92 kB / 0.7689 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.38, allocations: 272.8 kB / 0.7692 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.971e-05/0.3801, allocations: 34.58 kB / 0.7692 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.481e-05/0.3801, allocations: 20.94 kB / 0.7692 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.3802, allocations: 0 / 0.7692 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.3803, allocations: 71.33 kB / 0.7693 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.3804, allocations: 0 / 0.7693 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002385/0.3806, allocations: 69.67 kB / 0.7694 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.487e-05/0.3807, allocations: 106.8 kB / 0.7695 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.436e-05/0.3808, allocations: 101.9 kB / 0.7696 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.3808, allocations: 25.7 kB / 0.7696 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.3809, allocations: 96.02 kB / 0.7697 GB, free: 464 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.3809, allocations: 11.95 kB / 0.7697 GB, free: 452 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.3809, allocations: 21.7 kB / 0.7697 GB, free: 424 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.3811, allocations: 314.8 kB / 0.77 GB, free: 100 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.175e-05/0.3811, allocations: 12 kB / 0.77 GB, free: 88 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.058e-05/0.3812, allocations: 38.5 kB / 0.7701 GB, free: 40 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.77e-05/0.3812, allocations: 24.86 kB / 0.7701 GB, free: 12 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3812, allocations: 0 / 0.7701 GB, free: 12 kB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001141/0.3813, allocations: 57.77 kB / 0.7701 GB, free: 15.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3814, allocations: 14.47 kB / 0.7701 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3814, allocations: 0 / 0.7701 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3814, allocations: 0 / 0.7701 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.563e-05/0.3815, allocations: 16.55 kB / 0.7702 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3815, allocations: 3.938 kB / 0.7702 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.3816, allocations: 11.94 kB / 0.7702 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.3816, allocations: 11.98 kB / 0.7702 GB, free: 15.89 MB / 0.545 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 9.395e-05/0.3817, allocations: 116.2 kB / 0.7703 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.3817, allocations: 8 kB / 0.7703 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.963e-05/0.3818, allocations: 7.5 kB / 0.7703 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.3818, allocations: 0 / 0.7703 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3818, allocations: 4 kB / 0.7703 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3818, allocations: 0 / 0.7703 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.3819, allocations: 177.5 kB / 0.7705 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3819, allocations: 0 / 0.7705 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.382, allocations: 4 kB / 0.7705 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.382, allocations: 0 / 0.7705 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.382, allocations: 0 / 0.7705 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.382, allocations: 3.984 kB / 0.7705 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.382, allocations: 4 kB / 0.7705 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.3821, allocations: 96.95 kB / 0.7706 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/0.3822, allocations: 81.09 kB / 0.7707 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.3822, allocations: 4 kB / 0.7707 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3823, allocations: 11.98 kB / 0.7707 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.3824, allocations: 3.984 kB / 0.7707 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.3824, allocations: 4 kB / 0.7707 GB, free: 15.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.746e-05/0.3824, allocations: 87.28 kB / 0.7708 GB, free: 15.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3824, allocations: 0 / 0.7708 GB, free: 15.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001866/0.3826, allocations: 12 kB / 0.7708 GB, free: 15.19 MB / 0.545 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.0001376/0.3828, allocations: 99.25 kB / 0.7709 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.3829, allocations: 27.98 kB / 0.7709 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3829, allocations: 0 / 0.7709 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.101e-05/0.383, allocations: 19.92 kB / 0.7709 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.3831, allocations: 12.88 kB / 0.7709 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.3834, allocations: 121.5 kB / 0.7711 GB, free: 14.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.3836, allocations: 0.6807 MB / 0.7717 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.541e-05/0.3837, allocations: 8.234 kB / 0.7717 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.3837, allocations: 11.44 kB / 0.7717 GB, free: 14.14 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.3837, allocations: 0 / 0.7717 GB, free: 14.14 MB / 0.545 GB Notification: Performance of Templates: time 0.00287/0.3866, allocations: 0.8756 MB / 0.7726 GB, free: 13.29 MB / 0.545 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)