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.001391/0.001392, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001206/0.001206, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.366/1.366, allocations: 222.9 MB / 241 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.002214/0.002214, allocations: 287 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9351/0.9351, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 104.1 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.4515, allocations: 86.96 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002454/0.454, allocations: 1.453 MB / 0.7685 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004337/0.4545, allocations: 191.3 kB / 0.7687 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.215e-05/0.4545, allocations: 0 / 0.7687 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.4546, allocations: 7.938 kB / 0.7687 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.4548, allocations: 27.84 kB / 0.7687 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.455, allocations: 55.42 kB / 0.7687 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.4551, allocations: 55.84 kB / 0.7688 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.262e-05/0.4552, allocations: 7.516 kB / 0.7688 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.854e-05/0.4553, allocations: 27.91 kB / 0.7688 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.654e-05/0.4554, allocations: 23.92 kB / 0.7689 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.4554, allocations: 4 kB / 0.7689 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.766e-05/0.4554, allocations: 4 kB / 0.7689 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.282e-05/0.4555, allocations: 19.92 kB / 0.7689 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.4555, allocations: 15.92 kB / 0.7689 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.4556, allocations: 51.86 kB / 0.7689 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4556, allocations: 0 / 0.7689 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.614e-06/0.4556, allocations: 0 / 0.7689 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.4557, allocations: 0 / 0.7689 GB, free: 1.961 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.0005388/0.4562, allocations: 350.1 kB / 0.7693 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4562, allocations: 15.97 kB / 0.7693 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.4563, allocations: 0.9375 kB / 0.7693 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.4564, allocations: 176.2 kB / 0.7695 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.4564, allocations: 384 / 0.7695 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.4565, allocations: 4.375 kB / 0.7695 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.4566, allocations: 78.55 kB / 0.7695 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.4566, allocations: 192 / 0.7695 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.4567, allocations: 15.94 kB / 0.7696 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4567, allocations: 0 / 0.7696 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.39e-05/0.4567, allocations: 15.98 kB / 0.7696 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003655/0.4571, allocations: 268.9 kB / 0.7698 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.717e-05/0.4572, allocations: 42.5 kB / 0.7699 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.143e-05/0.4572, allocations: 20.94 kB / 0.7699 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.4573, allocations: 4 kB / 0.7699 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.4574, allocations: 63.39 kB / 0.77 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.4574, allocations: 0 / 0.77 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002071/0.4576, allocations: 73.53 kB / 0.77 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.4577, allocations: 110.8 kB / 0.7701 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.355e-05/0.4578, allocations: 97.86 kB / 0.7702 GB, free: 448 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.4578, allocations: 33.7 kB / 0.7703 GB, free: 408 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.4579, allocations: 92.06 kB / 0.7703 GB, free: 312 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.4579, allocations: 11.81 kB / 0.7704 GB, free: 300 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.458, allocations: 21.7 kB / 0.7704 GB, free: 272 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.4581, allocations: 318.8 kB / 0.7707 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.052e-05/0.4581, allocations: 12 kB / 0.7707 GB, free: 15.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.047e-05/0.4582, allocations: 30.56 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.034e-05/0.4582, allocations: 29.23 kB / 0.7707 GB, free: 15.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4582, allocations: 4.031 kB / 0.7707 GB, free: 15.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.756e-05/0.4583, allocations: 61.62 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4584, allocations: 4 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4584, allocations: 0 / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.4584, allocations: 0 / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.401e-05/0.4585, allocations: 15.98 kB / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.4585, allocations: 0 / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.4586, allocations: 7.938 kB / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.4586, allocations: 3.984 kB / 0.7708 GB, free: 15.76 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 0.0001059/0.4587, allocations: 124.2 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.4587, allocations: 4 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.936e-05/0.4588, allocations: 3.5 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.4588, allocations: 0 / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4588, allocations: 0 / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4588, allocations: 4 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.4589, allocations: 181.4 kB / 0.7711 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4589, allocations: 0 / 0.7711 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.201e-05/0.459, allocations: 0 / 0.7711 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.459, allocations: 7.938 kB / 0.7711 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.459, allocations: 4 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.459, allocations: 0 / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.459, allocations: 0 / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.4591, allocations: 97.22 kB / 0.7712 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.4592, allocations: 85.09 kB / 0.7713 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.4592, allocations: 4 kB / 0.7713 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.4593, allocations: 7.984 kB / 0.7713 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.4594, allocations: 4 kB / 0.7713 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.4594, allocations: 4 kB / 0.7713 GB, free: 15.15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.706e-05/0.4594, allocations: 91.33 kB / 0.7714 GB, free: 15.06 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4594, allocations: 0 / 0.7714 GB, free: 15.06 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001866/0.4596, allocations: 12 kB / 0.7714 GB, free: 15.05 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.0001215/0.4597, allocations: 103.2 kB / 0.7715 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.4599, allocations: 31.92 kB / 0.7716 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4599, allocations: 0 / 0.7716 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.105e-05/0.4599, allocations: 19.98 kB / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.4601, allocations: 14.62 kB / 0.7716 GB, free: 14.87 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/0.4604, allocations: 150 kB / 0.7717 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.4606, allocations: 0.6807 MB / 0.7724 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.4607, allocations: 11.38 kB / 0.7724 GB, free: 13.97 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4607, allocations: 0 / 0.7724 GB, free: 13.97 MB / 0.545 GB Notification: Performance of Templates: time 0.00207/0.4628, allocations: 0.8271 MB / 0.7732 GB, free: 13.16 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)