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.001214/0.001214, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001226/0.001226, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002266/0.002266, allocations: 292.2 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9624/0.9624, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 104 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5422/0.5444, allocations: 86.98 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.00292/0.5474, allocations: 1.445 MB / 0.7685 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004504/0.5479, allocations: 191.4 kB / 0.7687 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.5479, allocations: 0 / 0.7687 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/0.5479, allocations: 3.938 kB / 0.7687 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.5482, allocations: 23.84 kB / 0.7687 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.5484, allocations: 67.78 kB / 0.7687 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.872e-05/0.5485, allocations: 51.92 kB / 0.7688 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.5486, allocations: 7.5 kB / 0.7688 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.964e-05/0.5487, allocations: 31.84 kB / 0.7688 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.361e-05/0.5488, allocations: 23.92 kB / 0.7689 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.5488, allocations: 4 kB / 0.7689 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.345e-05/0.5488, allocations: 4 kB / 0.7689 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.777e-05/0.5489, allocations: 11.98 kB / 0.7689 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.29e-05/0.5489, allocations: 23.86 kB / 0.7689 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.549, allocations: 47.86 kB / 0.7689 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5491, allocations: 4 kB / 0.7689 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5491, allocations: 3.938 kB / 0.7689 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.5491, allocations: 0 / 0.7689 GB, free: 1.98 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.0005398/0.5496, allocations: 342.1 kB / 0.7693 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.5497, allocations: 12.03 kB / 0.7693 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.5497, allocations: 0.9375 kB / 0.7693 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.5499, allocations: 180.2 kB / 0.7695 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.5499, allocations: 384 / 0.7695 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.5499, allocations: 8.375 kB / 0.7695 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.5501, allocations: 82.56 kB / 0.7695 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.5501, allocations: 192 / 0.7695 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.5501, allocations: 7.938 kB / 0.7696 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.5501, allocations: 0 / 0.7696 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.567e-05/0.5502, allocations: 15.98 kB / 0.7696 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.5506, allocations: 276.8 kB / 0.7698 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.353e-05/0.5507, allocations: 38.56 kB / 0.7699 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.5507, allocations: 16.86 kB / 0.7699 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.5508, allocations: 0 / 0.7699 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.551, allocations: 63.48 kB / 0.7699 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.551, allocations: 0 / 0.7699 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002088/0.5512, allocations: 77.52 kB / 0.77 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.057e-05/0.5513, allocations: 110.8 kB / 0.7701 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.657e-05/0.5513, allocations: 105.8 kB / 0.7702 GB, free: 468 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.5514, allocations: 29.7 kB / 0.7703 GB, free: 432 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.5514, allocations: 80.14 kB / 0.7703 GB, free: 348 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.5515, allocations: 11.81 kB / 0.7703 GB, free: 336 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.5515, allocations: 21.7 kB / 0.7704 GB, free: 308 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.5516, allocations: 322.8 kB / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.963e-05/0.5517, allocations: 15.98 kB / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.715e-05/0.5517, allocations: 26.58 kB / 0.7707 GB, free: 15.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.568e-05/0.5518, allocations: 36.72 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5518, allocations: 0 / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001076/0.5519, allocations: 61.88 kB / 0.7708 GB, free: 15.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.5519, allocations: 4 kB / 0.7708 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.5519, allocations: 0 / 0.7708 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.552, allocations: 4 kB / 0.7708 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.312e-05/0.552, allocations: 8.422 kB / 0.7708 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.552, allocations: 8.016 kB / 0.7708 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.5522, allocations: 7.984 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.5522, allocations: 4 kB / 0.7708 GB, free: 15.79 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.461e-05/0.5523, allocations: 124.2 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.5523, allocations: 3.938 kB / 0.771 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.107e-05/0.5523, allocations: 11.42 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.5523, allocations: 4 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5523, allocations: 0 / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.5523, allocations: 4 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.5525, allocations: 177.4 kB / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.5525, allocations: 0 / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.33e-05/0.5525, allocations: 7.984 kB / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.5525, allocations: 0 / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.5525, allocations: 0 / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.5525, allocations: 0 / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5525, allocations: 0 / 0.7712 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.5527, allocations: 93.05 kB / 0.7712 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/0.5528, allocations: 85.11 kB / 0.7713 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.5528, allocations: 7.984 kB / 0.7713 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.713e-05/0.5529, allocations: 4 kB / 0.7713 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.5529, allocations: 7.984 kB / 0.7713 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.5529, allocations: 3.938 kB / 0.7713 GB, free: 15.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.954e-05/0.553, allocations: 83.28 kB / 0.7714 GB, free: 15.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.553, allocations: 0 / 0.7714 GB, free: 15.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001895/0.5532, allocations: 15.98 kB / 0.7714 GB, free: 15.07 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.0001181/0.5533, allocations: 107.2 kB / 0.7715 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.5534, allocations: 27.98 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5534, allocations: 0 / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.14e-05/0.5535, allocations: 19.94 kB / 0.7716 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.5537, allocations: 7.875 kB / 0.7716 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.554, allocations: 158.2 kB / 0.7718 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.5543, allocations: 0.6768 MB / 0.7724 GB, free: 14.01 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.5543, allocations: 15.44 kB / 0.7724 GB, free: 13.99 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.5543, allocations: 0 / 0.7724 GB, free: 13.99 MB / 0.545 GB Notification: Performance of Templates: time 0.00227/0.5566, allocations: 0.8267 MB / 0.7732 GB, free: 13.18 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)